diff -r 93155367a2a6 -r f1aaa100f2a5 mercurial/commands.py --- 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)')),