##// END OF EJS Templates
tests: add test for behavior of forget for explicit path in subrepo...
David M. Carr -
r15473:d90b0b30 default
parent child Browse files
Show More
@@ -885,8 +885,8 b' Test that removing .hgsub removes .hgsub'
885
885
886 Test behavior of add for explicit path in subrepo:
886 Test behavior of add for explicit path in subrepo:
887 $ cd ..
887 $ cd ..
888 $ hg init addtests
888 $ hg init explicit
889 $ cd addtests
889 $ cd explicit
890 $ echo s = s > .hgsub
890 $ echo s = s > .hgsub
891 $ hg add .hgsub
891 $ hg add .hgsub
892 $ hg init s
892 $ hg init s
@@ -1004,4 +1004,14 b' Adding with a pattern with -S also adds '
1004 $ hg ci -Am6
1004 $ hg ci -Am6
1005 adding fn16
1005 adding fn16
1006 committing subrepository s
1006 committing subrepository s
1007 $ cd ..
1007
1008 Test behavior of forget for explicit path in subrepo:
1009 Forgetting an explicit path in a subrepo currently gives a file untracked warn
1010 $ echo c19 > s/f19
1011 $ hg add s/f19
1012 $ hg st -S
1013 A s/f19
1014 $ hg forget s/f19
1015 not removing s/f19: file is already untracked
1016 [1]
1017 $ rm s/f19
General Comments 0
You need to be logged in to leave comments. Login now