equal
deleted
inserted
replaced
883 rm2 |
883 rm2 |
884 |
884 |
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 |
893 $ hg ci -m0 |
893 $ hg ci -m0 |
894 committing subrepository s |
894 committing subrepository s |
1002 $ hg ci -R s -Am5 |
1002 $ hg ci -R s -Am5 |
1003 adding fn18 |
1003 adding fn18 |
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 |