Mercurial > hg-stable
changeset 32194:f1aaa100f2a5
py3: handle opts correctly for unbundle
There is just a check whether the value is None or not. So even having
optupdate as unicodes won't harm us.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 21 Apr 2017 15:04:32 +0530 |
parents | 93155367a2a6 |
children | e807c373846a |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Apr 21 02:20:46 2017 +0530 +++ b/mercurial/commands.py Fri Apr 21 15:04:32 2017 +0530 @@ -5340,7 +5340,7 @@ else: modheads = gen.apply(repo, 'unbundle', 'bundle:' + fname) - return postincoming(ui, repo, modheads, opts.get('update'), None, None) + return postincoming(ui, repo, modheads, opts.get(r'update'), None, None) @command('^update|up|checkout|co', [('C', 'clean', None, _('discard uncommitted changes (no backup)')),