# end of bup preamble
from __future__ import absolute_import
-import glob, os, sys, tempfile
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import glob, tempfile
from bup import compat, options, git, bloom
from bup.compat import argv_bytes, hexstr
# end of bup preamble
from __future__ import absolute_import
-import os.path, re, stat, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import os.path, re, stat
from bup import compat, options, git, vfs
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import
-import os, sys, getopt, socket, subprocess, fcntl
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import getopt, socket, subprocess, fcntl
from bup import compat, options, path
from bup.helpers import *
# end of bup preamble
from __future__ import absolute_import
-import os, random, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import random
from bup import compat, options
from bup.compat import argv_bytes, bytes_from_uint, range
# end of bup preamble
from __future__ import absolute_import, print_function
-from os.path import relpath
-import os.path, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from os.path import relpath
from bup import compat, options, drecurse
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import, print_function
-import os.path, sys, platform
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import platform
from bup import _helpers, compat, metadata, options, version
from bup.io import byte_stream
# end of bup preamble
from __future__ import absolute_import, print_function
-import os, glob, subprocess, sys
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import glob, subprocess
from shutil import rmtree
from subprocess import PIPE, Popen
from tempfile import mkdtemp
from binascii import hexlify
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
-
from bup import compat, options, git
from bup.compat import argv_bytes
from bup.helpers import Sha1, chunkyreader, istty2, log, progress
# (e.g. ISO-8859-1).
from __future__ import absolute_import, print_function
-import os, fnmatch, stat, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import fnmatch, stat
from bup import _helpers, compat, options, git, shquote, ls, vfs
from bup.compat import argv_bytes, fsdecode
# end of bup preamble
from __future__ import absolute_import, print_function
-import errno, os, sys
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import errno
try:
import fuse
file=sys.stderr)
sys.exit(2)
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
-
from bup import compat, options, git, vfs, xstat
from bup.compat import argv_bytes, fsdecode, py_maj
from bup.helpers import log
# end of bup preamble
from __future__ import absolute_import
-import os.path, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat, git, options
from bup.gc import bup_gc
# end of bup preamble
from __future__ import absolute_import, print_function
-import os, re, stat, sys, textwrap, time
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import re, stat, textwrap, time
from binascii import hexlify, unhexlify
from collections import namedtuple
from functools import partial
from stat import S_ISDIR
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
-
from bup import compat, git, client, helpers, vfs
from bup.compat import argv_bytes, environ, hexstr, items, wrap_main
from bup.git import get_cat_data, parse_commit, walk_object
# end of bup preamble
from __future__ import absolute_import
-import os, glob, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import glob
from bup import compat, options, path
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
from calendar import timegm
from pipes import quote
from subprocess import check_call
from time import strftime, strptime
-import os
-import os.path
-import sys
import tempfile
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
-
from bup import compat, git, helpers, options
from bup.compat import argv_bytes, str_type
from bup.helpers import (handle_ctrl_c,
# end of bup preamble
from __future__ import absolute_import, print_function
-from binascii import hexlify
-import errno, os, re, stat, sys, time
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from binascii import hexlify
+import errno, re, stat, time
from bup import compat, metadata, options, git, index, drecurse, hlinkdb
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import
-import os.path, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat, git, options, client
from bup.helpers import log, saved_errors
# end of bup preamble
from __future__ import absolute_import
-import os.path, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat, git, options
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import, print_function
-from binascii import hexlify, unhexlify
+
+# Intentionally replace the dirname "$0" that python prepends
import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+from binascii import hexlify, unhexlify
from bup import compat, git, options
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import
-import os.path, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat, git, ls
from bup.io import byte_stream
# end of bup preamble
from __future__ import absolute_import
-import math, os.path, struct, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import math, struct
from bup import compat, options, git, _helpers
from bup.helpers import log
# end of bup preamble
from __future__ import absolute_import, print_function
-import os.path, re, resource, struct, sys, time
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import re, resource, struct, time
from bup import compat, git, bloom, midx, options, _helpers
from bup.compat import range
# TODO: Add tar-like -C option.
from __future__ import absolute_import
-import os, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat, metadata
from bup import options
# end of bup preamble
from __future__ import absolute_import, print_function
-from binascii import hexlify
-import glob, math, os, resource, struct, sys, tempfile
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from binascii import hexlify
+import glob, math, resource, struct, tempfile
from bup import compat, options, git, midx, _helpers, xstat
from bup.compat import argv_bytes, hexstr, range
# end of bup preamble
from __future__ import absolute_import
-import os, struct, subprocess, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import struct, subprocess
from bup import compat, options
from bup.helpers import debug1, debug2, mux
# end of bup preamble
from __future__ import absolute_import
-import os, struct, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import struct
from bup import compat, options, helpers, path
from bup.compat import environ, py_maj
# end of bup preamble
from __future__ import absolute_import
-from subprocess import PIPE
-import getopt, os, signal, struct, subprocess, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from subprocess import PIPE
+import getopt, signal, struct, subprocess
from bup import compat, options, ssh, path
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import, print_function
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
from binascii import hexlify, unhexlify
from collections import defaultdict
from itertools import groupby
from sys import stderr
from time import localtime, strftime, time
-import os.path, re, sys
-
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+import re
from bup import compat, git, options
from bup.compat import argv_bytes, int_types
# end of bup preamble
from __future__ import absolute_import
-import os, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat, options, _helpers
from bup.helpers import handle_ctrl_c, log, parse_num
# end of bup preamble
from __future__ import absolute_import
-from stat import S_ISDIR
-import copy, errno, os, re, stat, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from stat import S_ISDIR
+import copy, errno, re, stat
from bup import compat, options, git, metadata, vfs
from bup._helpers import write_sparsely
# end of bup preamble
from __future__ import absolute_import
-import os.path, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
from bup import compat
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import, print_function
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
from binascii import hexlify
from errno import EACCES
from io import BytesIO
-import math, os, stat, sys, time
-
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+import math, stat, time
from bup import compat, hashsplit, git, options, index, client, metadata
from bup import hlinkdb
# end of bup preamble
from __future__ import absolute_import
-from binascii import hexlify, unhexlify
-import os, struct, subprocess, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from binascii import hexlify, unhexlify
+import struct, subprocess
from bup import compat, options, git, vfs, vint
from bup.compat import environ, hexstr
# end of bup preamble
from __future__ import absolute_import, division, print_function
-from binascii import hexlify
-import os, sys, time
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+from binascii import hexlify
+import time
from bup import compat, hashsplit, git, options, client
from bup.compat import argv_bytes, environ
# end of bup preamble
from __future__ import absolute_import
-from binascii import hexlify
+
+# Intentionally replace the dirname "$0" that python prepends
import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+from binascii import hexlify
from bup import compat, git, options
from bup.compat import argv_bytes
# end of bup preamble
from __future__ import absolute_import
-import os, sys, time
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import time
from bup import compat, options
# end of bup preamble
from __future__ import absolute_import, print_function
-import os.path, re, sys
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import re
from bup import compat, options, version
from bup.io import byte_stream
# end of bup preamble
from __future__ import absolute_import, print_function
+
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
from collections import namedtuple
-import mimetypes, os, posixpath, signal, stat, sys, time, urllib, webbrowser
+import mimetypes, posixpath, signal, stat, time, urllib, webbrowser
from binascii import hexlify
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
-
from bup import compat, options, git, vfs
from bup.helpers import (chunkyreader, debug1, format_filesize, handle_ctrl_c,
log, saved_errors)
# Public License as described in the bup LICENSE file.
from __future__ import absolute_import, print_function
-import errno, os.path, sys, stat
-sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+# Intentionally replace the dirname "$0" that python prepends
+import os, sys
+sys.path[0] = os.path.dirname(os.path.realpath(__file__)) + '/..'
+
+import errno, os.path, stat
from bup import compat, metadata, options, xstat
from bup.compat import argv_bytes