contrib/debian/default-tools.rc
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 06 Apr 2018 09:34:44 -0700
changeset 37391 3198d5a2514e
parent 32065 dc82c9777209
permissions -rw-r--r--
context: stop catching RepoLookupError from namespace.singlenode() As pointed out by Yuya, the RepoLookupError was there for catching errors from repo.branchtip(). However, since 885c0290f7d5 (localrepo: add ignoremissing parameter to branchtip, 2014-10-16), that should no longer happen. I think it should now be an error if a namespace raises a RepoLookupError, so we propagate the exception up and and make it easy to fix, rather than trying to interpret the changeid as nodeid prefix and raise a general "unknown revision '...'" error. I also don't think we should catch FilteredLookupError and LookupError from the changelog.rev() call, for the same reason as above: If a namespace returns a node that doesn't exist, we should provide a more helpful exception than "unknown revision '...'". Differential Revision: https://phab.mercurial-scm.org/D3145
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32065
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
[ui]
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
editor = sensible-editor
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     4
[pager]
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     5
pager = sensible-pager