rust/Cargo.toml
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 06 Apr 2018 12:45:08 -0700
changeset 37855 fdd8da79eb85
parent 35569 964212780daf
child 39967 aab43d5861bb
permissions -rw-r--r--
context: only bother looking for broken dirstate for 20-byte changeid If we fail to look up a changeid in changectx.__init__, we check if it exactly matches any of the dirstate parents, and if it does, we print a more specific message ("working directory has unknown parent '...'!" instead of "unknown revision '...'"). The dirstate parents are always 20 bytes, so there's no need to check for a match when the given changeid is not 20 bytes. (And now that all the other allowed forms of changeid have been moved out of the constructor, there's no risk that a changeid that did match a dirstate parent was actually a valid bookmark.) Differential Revision: https://phab.mercurial-scm.org/D3450

[workspace]
members = ["hgcli"]