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

Yuya Nishihara yuya at tcha.org
Thu Dec 27 06:49:56 EST 2018


>          nodes = None
> -        if opts['bookmark'] or revs:
> +        if opts.get('bookmark') or revs:

There's one more `opts['bookmark']`. That's why `opts.get('bookmark')` was
rewritten as `opts[...]`.


More information about the Mercurial-devel mailing list