Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-locate @ 1622:5e9168401a68
fix locate broken since 63799b01985c
- fix the keyword arguments for walk in commands.locate
- implement 'hg locate -r <rev>'
- add a test for 'hg locate'
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 16 Jan 2006 15:51:09 +0100 |
parents | |
children | 7544700fd931 |
comparison
equal
deleted
inserted
replaced
1621:ee16f06174bd | 1622:5e9168401a68 |
---|---|
1 #!/bin/sh | |
2 # | |
3 mkdir t | |
4 cd t | |
5 hg init | |
6 echo 0 > a | |
7 echo 0 > b | |
8 hg ci -A -m m -d "0 0" | |
9 touch nottracked | |
10 hg locate a | |
11 hg locate NONEXISTENT | |
12 hg locate | |
13 hg rm a | |
14 hg ci -m m -d "0 0" | |
15 hg locate a | |
16 hg locate NONEXISTENT | |
17 hg locate | |
18 hg locate -r 0 a | |
19 hg locate -r 0 NONEXISTENT | |
20 hg locate -r 0 |