import glob, os, sys, tempfile
from bup import options, git, bloom
-from bup.helpers import (debug1, handle_ctrl_c, log, progress, qprogress,
+from bup.helpers import (add_error, debug1, handle_ctrl_c, log, progress, qprogress,
saved_errors)
optspec = """
from bup import metadata, options, git, index, drecurse, hlinkdb
from bup.drecurse import recursive_dirlist
from bup.hashsplit import GIT_MODE_TREE, GIT_MODE_FILE
-from bup.helpers import (handle_ctrl_c, log, parse_excludes, parse_rx_excludes,
+from bup.helpers import (add_error, handle_ctrl_c, log, parse_excludes, parse_rx_excludes,
progress, qprogress, saved_errors)
import sys, os
from bup import git, options
-from bup.helpers import handle_ctrl_c, log, qprogress, saved_errors
+from bup.helpers import add_error, handle_ctrl_c, log, qprogress, saved_errors
optspec = """
import glob, math, os, resource, struct, sys, tempfile
from bup import options, git, midx, _helpers, xstat
-from bup.helpers import (Sha1, atomically_replaced_file, debug1, fdatasync,
+from bup.helpers import (Sha1, add_error, atomically_replaced_file, debug1, fdatasync,
handle_ctrl_c, log, mmap_readwrite, qprogress,
saved_errors, unlink)
import os, sys, time
from bup import hashsplit, git, options, client
-from bup.helpers import (handle_ctrl_c, hostname, log, parse_num, qprogress,
- reprogress, saved_errors, userfullname, username)
+from bup.helpers import (add_error, handle_ctrl_c, hostname, log, parse_num,
+ qprogress, reprogress, saved_errors,
+ userfullname, username)
optspec = """
# Public License as described in the bup LICENSE file.
import sys, stat, errno
from bup import metadata, options, xstat
-from bup.helpers import handle_ctrl_c, parse_timestamp, saved_errors, \
+from bup.helpers import add_error, handle_ctrl_c, parse_timestamp, saved_errors, \
add_error, log
import stat, os
-from bup.helpers import should_rx_exclude_path, debug1
+from bup.helpers import add_error, should_rx_exclude_path, debug1
import bup.xstat as xstat