Show More
@@ -666,7 +666,15 b' Existing tracked files in the working di' | |||||
666 | new:modified |
|
666 | new:modified | |
667 | um:unmod |
|
667 | um:unmod | |
668 |
|
668 | |||
669 | which can be overridden by -rREV |
|
669 | #if symlink | |
|
670 | Grepping a symlink greps its destination | |||
|
671 | ||||
|
672 | $ rm -f added; ln -s symlink-added added | |||
|
673 | $ hg grep '' | grep added | |||
|
674 | added:symlink-added | |||
|
675 | #endif | |||
|
676 | ||||
|
677 | But we can search files from some other revision with -rREV | |||
670 |
|
678 | |||
671 | $ hg grep -r. mod |
|
679 | $ hg grep -r. mod | |
672 | um:1:unmod |
|
680 | um:1:unmod |
General Comments 0
You need to be logged in to leave comments.
Login now