Mercurial > hg
view tests/test-strict @ 6179:36ab165abbe2
patch: fix iterhunks() with trailing binary file removal
Like some renames or copy operations, binary file removal does not generate any
"file" or "hunk" action, but was not tagged as such and let iterhunk() assume
no hunk was applied for the deleted file.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 28 Feb 2008 00:07:37 +0100 |
parents | 4e815ee377fd |
children | 6c82beaaa11a |
line wrap: on
line source
#!/bin/sh hg init echo a > a hg ci -d '0 0' -Ama hg an a echo "[ui]" >> $HGRCPATH echo "strict=True" >> $HGRCPATH hg an a hg annotate a echo % should succeed - up is an alias, not an abbreviation hg up