This is an archive of the discontinued Mercurial Phabricator instance.

context: clarify that only one attempt is made to interpret changeid
ClosedPublic

Authored by martinvonz on May 6 2018, 12:50 AM.

Details

Summary

We can now tell what type of revision specifier we have just by
looking at it (we no longer attempt to interpret it in one way after
the other -- that's now in scmutil.revsymbol()). Let's clarify this in
the code by swithing to if/elif.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.