Pull requests

#2 Merged
Repository
Dreamsorcerer Dreamsorcerer
Branch
default
Repository
obensonne obensonne
Branch
default

Use returncode 2 when keyring cancelled.

Author
  1. Sam Bull
Reviewers
Description

I added the exception catching at the top level of the code, as it could be thrown in multiple places (e.g. when run with -m or -l).

I also needed to stop the thing it does on exit when the keyring was cancelled, otherwise it just attempts the same thing again and tries to unlock the keyring a second time.

Comments (2)

  1. Oben Sonne repo owner

    Looks good, I'll merge it.

    By the way, you should remove the quotes from your HGRC username setting. They are not needed and prevent tools from distinguishing names and email addresses.