D5484: pull: use opts.get('bookmark') instead of opts['bookmark']

Yuya Nishihara yuya at tcha.org
Thu Dec 27 08:16:24 EST 2018


> @@ -4438,7 +4438,7 @@
>              remotebookmarks = fremotebookmarks.result()
>              remotebookmarks = bookmarks.unhexlifybookmarks(remotebookmarks)
>              pullopargs['remotebookmarks'] = remotebookmarks
> -            for b in opts['bookmark']:
> +            for b in opts.get('bookmark'):

Still wrong. It's `for b in None`.


More information about the Mercurial-devel mailing list