Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-walk @ 1568:1d7d0c07e8f3
make all commands be repo-wide by default
- refactor code in commands.py so that:
if no pattern is given, the command will be repo-wide
else it will work on the working dir
- update the doc
- fix the tests
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Thu, 01 Dec 2005 10:51:45 -0600 |
parents | 1c64c628d15f |
children | 7544700fd931 |
comparison
equal
deleted
inserted
replaced
1567:b4956bbbadc9 | 1568:1d7d0c07e8f3 |
---|---|
18 echo glob:glob > glob:glob | 18 echo glob:glob > glob:glob |
19 hg addremove | 19 hg addremove |
20 hg commit -m "commit #0" -d "0 0" | 20 hg commit -m "commit #0" -d "0 0" |
21 hg debugwalk | 21 hg debugwalk |
22 cd mammals | 22 cd mammals |
23 hg debugwalk | 23 hg debugwalk . |
24 hg debugwalk Procyonidae | 24 hg debugwalk Procyonidae |
25 cd Procyonidae | 25 cd Procyonidae |
26 hg debugwalk | 26 hg debugwalk . |
27 hg debugwalk .. | 27 hg debugwalk .. |
28 cd .. | 28 cd .. |
29 hg debugwalk ../beans | 29 hg debugwalk ../beans |
30 hg debugwalk | 30 hg debugwalk . |
31 cd .. | 31 cd .. |
32 hg debugwalk -Ibeans | 32 hg debugwalk -Ibeans |
33 hg debugwalk 'glob:mammals/../beans/b*' | 33 hg debugwalk 'glob:mammals/../beans/b*' |
34 hg debugwalk '-X*/Procyonidae' mammals | 34 hg debugwalk '-X*/Procyonidae' mammals |
35 hg debugwalk path:mammals | 35 hg debugwalk path:mammals |