Show More
@@ -1624,7 +1624,10 b' def locate(ui, repo, *pats, **opts):' | |||
|
1624 | 1624 | |
|
1625 | 1625 | ret = 1 |
|
1626 | 1626 | for src, abs, rel, exact in cmdutil.walk(repo, pats, opts, node=node, |
|
1627 | badmatch=util.always, | |
|
1627 | 1628 | default='relglob'): |
|
1629 | if src == 'b': | |
|
1630 | continue | |
|
1628 | 1631 | if not node and repo.dirstate.state(abs) == '?': |
|
1629 | 1632 | continue |
|
1630 | 1633 | if opts['fullpath']: |
@@ -30,9 +30,11 b' hg rm a' | |||
|
30 | 30 | hg ci -m m -d "1000000 0" |
|
31 | 31 | hglocate a |
|
32 | 32 | hglocate NONEXISTENT |
|
33 | hglocate relpath:NONEXISTENT | |
|
33 | 34 | hglocate |
|
34 | 35 | hglocate -r 0 a |
|
35 | 36 | hglocate -r 0 NONEXISTENT |
|
37 | hglocate -r 0 relpath:NONEXISTENT | |
|
36 | 38 | hglocate -r 0 |
|
37 | 39 | echo % -I/-X with relative path should work |
|
38 | 40 | cd t |
General Comments 0
You need to be logged in to leave comments.
Login now