tests/test-subrepo.t
changeset 15474 95174c381525
parent 15473 d90b0b30464b
child 15501 2371f4aea665
child 15520 d6d7b56ec346
equal deleted inserted replaced
15473:d90b0b30464b 15474:95174c381525
  1004   $ hg ci -Am6
  1004   $ hg ci -Am6
  1005   adding fn16
  1005   adding fn16
  1006   committing subrepository s
  1006   committing subrepository s
  1007 
  1007 
  1008 Test behavior of forget for explicit path in subrepo:
  1008 Test behavior of forget for explicit path in subrepo:
  1009 Forgetting an explicit path in a subrepo currently gives a file untracked warn
  1009 Forgetting an explicit path in a subrepo untracks the file
  1010   $ echo c19 > s/f19
  1010   $ echo c19 > s/f19
  1011   $ hg add s/f19
  1011   $ hg add s/f19
  1012   $ hg st -S
  1012   $ hg st -S
  1013   A s/f19
  1013   A s/f19
  1014   $ hg forget s/f19
  1014   $ hg forget s/f19
  1015   not removing s/f19: file is already untracked
  1015   $ hg st -S
  1016   [1]
  1016   ? s/f19
  1017   $ rm s/f19
  1017   $ rm s/f19