3 # This is a test for issue761, which pointed out that we didn't check the
4 # syntax of --match patterns until after having spent considerable time
5 # doing considerable work. So here we construct a very invalid repository,
6 # and check that darcs fails *before* it notices that it's pulling from a
7 # bad repository. Thus we verify that we aren't doing any work prior to
18 darcs record
-a -m 'add two files'
21 darcs record
-a -m 'rm two files'
24 rm -rf _darcs
/inventories
/*
25 rm -rf _darcs
/patches
/*
32 ! darcs pull
--match 'foobar' ..
/temp1
2> error