Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-empty-dir @ 4190:e8ee8fdeddb1
change locate to use relglobs by default
This makes its default behaviour useful again (issue108), and
changes it search the entire repository by default (instead
of just the cwd), just like all other commands.
It also hides issue204 by default, but you'll still see the
same behaviour if you give it a relpath: pattern.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 10 Mar 2007 23:00:57 -0300 |
parents | 33b6c8193652 |
children |
line wrap: on
line source
#!/bin/sh hg init echo 123 > a hg add a hg commit -m "first" -d "1000000 0" a mkdir sub echo 321 > sub/b hg add sub/b hg commit -m "second" -d "1000000 0" sub/b cat sub/b hg co 0 cat sub/b 2>/dev/null || echo "sub/b not present" test -d sub || echo "sub not present" true