##// END OF EJS Templates
revert: don't assume ignored files will be returned in the unknown list...
revert: don't assume ignored files will be returned in the unknown list That's just an artifact of the current implementation, and I'll change that soon. Bonus points: - we don't care about the unknown list at all - we don't print an extra message if we try to revert a removed file that is not present in the target revision

File last commit:

r2248:b914f055 default
r6031:73833847 default
Show More
test-diff-newlines
8 lines | 161 B | text/plain | TextLexer
#!/bin/sh
hg init
python -c 'print "confuse str.splitlines\nembedded\rnewline"' > a
hg ci -Ama -d '1 0'
echo clean diff >> a
hg ci -mb -d '2 0'
hg diff -r0 -r1