I noticed this while playing with something else that
didn't just pass the repo_dir to git, but instead used
it with some os.path.join() calls that complain about
mixed unicode/bytes.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
is_reverse = environ.get(b'BUP_SERVER_REVERSE')
opt = parse_args(sys.argv)
git.check_repo_or_die()
+ if opt.source:
+ opt.source = argv_bytes(opt.source)
src_dir = opt.source or git.repo()
if opt.bwlimit:
client.bwlimit = parse_num(opt.bwlimit)