--- a/hgext/largefiles/lfcommands.py Thu Dec 07 00:26:45 2017 +0530
+++ b/hgext/largefiles/lfcommands.py Sun Dec 10 02:52:48 2017 +0530
@@ -24,6 +24,7 @@
lock,
match as matchmod,
node,
+ pycompat,
registrar,
scmutil,
util,
@@ -74,6 +75,7 @@
Use --to-normal to convert largefiles back to normal files; after
this, the DEST repository can be used without largefiles at all.'''
+ opts = pycompat.byteskwargs(opts)
if opts['to_normal']:
tolfile = False
else:
@@ -579,7 +581,7 @@
"""
repo.lfpullsource = source
- revs = opts.get('rev', [])
+ revs = opts.get(r'rev', [])
if not revs:
raise error.Abort(_('no revisions specified'))
revs = scmutil.revrange(repo, revs)