Mercurial > hg
view tests/test-rebuildstate @ 9091:79a886bcf461
ignore: separate pattern extraction from match compilation
hgignore files have slightly different syntax from match objects,
e.g. syntax: foo headers, regexp: forms, and re being relre. Put
conversion from hgignore syntax into match syntax into a standalone
function so that it is easier to validate hgignore hunks externally.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 09 Jul 2009 15:14:42 -0700 |
parents | ffeb926d57ce |
children |
line wrap: on
line source
#!/bin/sh # basic test for hg debugrebuildstate hg init repo cd repo touch foo bar hg ci -Am 'add foo bar' touch baz hg add baz hg rm bar hg debugrebuildstate echo '% state dump after' hg debugstate --nodates | sort echo '% status' hg st -A