##// END OF EJS Templates
subrepo: use low-level git-diff-index for dirty()...
subrepo: use low-level git-diff-index for dirty() Despite its name, git-diff-index compares a revision to the files in the working directory. This seems way less sketchy and more future proof than parsing human-readable git-status.

File last commit:

r12346:3b165c12 default
r13153:dca5488f default
Show More
test-issue433.t
10 lines | 189 B | text/troff | Tads3Lexer
http://mercurial.selenic.com/bts/issue433
$ hg init
$ echo a > a
$ hg commit -Ama
adding a
$ hg parents -r 0 doesnotexist
abort: 'doesnotexist' not found in manifest!
[255]