Show More
@@ -672,6 +672,15 b' Grepping a symlink greps its destination' | |||||
672 | $ rm -f added; ln -s symlink-added added |
|
672 | $ rm -f added; ln -s symlink-added added | |
673 | $ hg grep '' | grep added |
|
673 | $ hg grep '' | grep added | |
674 | added:symlink-added |
|
674 | added:symlink-added | |
|
675 | ||||
|
676 | But we reject symlinks as directories components of a tracked file as | |||
|
677 | usual: | |||
|
678 | ||||
|
679 | $ mkdir dir; touch dir/f; hg add dir/f | |||
|
680 | $ rm -rf dir; ln -s / dir | |||
|
681 | $ hg grep '' | |||
|
682 | abort: path 'dir/f' traverses symbolic link 'dir' | |||
|
683 | [255] | |||
675 | #endif |
|
684 | #endif | |
676 |
|
685 | |||
677 | But we can search files from some other revision with -rREV |
|
686 | But we can search files from some other revision with -rREV |
General Comments 0
You need to be logged in to leave comments.
Login now