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.
--- 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)')),