##// END OF EJS Templates
py3: use pycompat.byteskwargs() to convert opts to bytes...
Pulkit Goyal -
r31826:9fce17c4 default
parent child Browse files
Show More
@@ -2027,6 +2027,7 b' def export(ui, repo, *changesets, **opts'
2027
2027
2028 Returns 0 on success.
2028 Returns 0 on success.
2029 """
2029 """
2030 opts = pycompat.byteskwargs(opts)
2030 changesets += tuple(opts.get('rev', []))
2031 changesets += tuple(opts.get('rev', []))
2031 if not changesets:
2032 if not changesets:
2032 changesets = ['.']
2033 changesets = ['.']
@@ -3185,6 +3186,7 b' def incoming(ui, repo, source="default",'
3185
3186
3186 Returns 0 if there are incoming changes, 1 otherwise.
3187 Returns 0 if there are incoming changes, 1 otherwise.
3187 """
3188 """
3189 opts = pycompat.byteskwargs(opts)
3188 if opts.get('graph'):
3190 if opts.get('graph'):
3189 cmdutil.checkunsupportedgraphflags([], opts)
3191 cmdutil.checkunsupportedgraphflags([], opts)
3190 def display(other, chlist, displayer):
3192 def display(other, chlist, displayer):
General Comments 0
You need to be logged in to leave comments. Login now