##// END OF EJS Templates
context: only bother looking for broken dirstate for 20-byte changeid...
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

File last commit:

r32080:fcddcf44 stable
r37872:fdd8da79 default
Show More
linux-wheel-centos5-blacklist
3 lines | 59 B | text/plain | TextLexer
/ contrib / linux-wheel-centos5-blacklist
Boris Feld
packaging: add make target for linux wheels...
r32080 test-convert-git.t
test-subrepo-git.t
test-patchbomb-tls.t