##// END OF EJS Templates
py3: fix more keyword arguments handling...
Pulkit Goyal -
r36474:9ff5cbfb default
parent child Browse files
Show More
@@ -385,6 +385,6 b' def lfsfiles(repo, ctx, **args):'
385 [('r', 'rev', [], _('upload large files introduced by REV'))])
385 [('r', 'rev', [], _('upload large files introduced by REV'))])
386 def debuglfsupload(ui, repo, **opts):
386 def debuglfsupload(ui, repo, **opts):
387 """upload lfs blobs added by the working copy parent or given revisions"""
387 """upload lfs blobs added by the working copy parent or given revisions"""
388 revs = opts.get('rev', [])
388 revs = opts.get(r'rev', [])
389 pointers = wrapper.extractpointers(repo, scmutil.revrange(repo, revs))
389 pointers = wrapper.extractpointers(repo, scmutil.revrange(repo, revs))
390 wrapper.uploadblobs(repo, pointers)
390 wrapper.uploadblobs(repo, pointers)
@@ -122,8 +122,8 b' def pullnarrowcmd(orig, ui, repo, *args,'
122
122
123 def pullbundle2extraprepare_widen(orig, pullop, kwargs):
123 def pullbundle2extraprepare_widen(orig, pullop, kwargs):
124 orig(pullop, kwargs)
124 orig(pullop, kwargs)
125 if opts.get('depth'):
125 if opts.get(r'depth'):
126 kwargs['depth'] = opts['depth']
126 kwargs['depth'] = opts[r'depth']
127 wrappedextraprepare = extensions.wrappedfunction(exchange,
127 wrappedextraprepare = extensions.wrappedfunction(exchange,
128 '_pullbundle2extraprepare', pullbundle2extraprepare_widen)
128 '_pullbundle2extraprepare', pullbundle2extraprepare_widen)
129
129
@@ -791,7 +791,7 b' def showsuccsandmarkers(repo, ctx, **arg'
791
791
792 data.append({'successors': successors, 'markers': finalmarkers})
792 data.append({'successors': successors, 'markers': finalmarkers})
793
793
794 f = _showlist('succsandmarkers', data, args)
794 f = _showlist('succsandmarkers', data, pycompat.byteskwargs(args))
795 return _hybrid(f, data, lambda x: x, pycompat.identity)
795 return _hybrid(f, data, lambda x: x, pycompat.identity)
796
796
797 @templatekeyword('p1rev')
797 @templatekeyword('p1rev')
General Comments 0
You need to be logged in to leave comments. Login now