Mercurial > hg
diff tests/test-subrepo.out @ 10522:b07d487009b2 stable
subrepo: Update .hgsubstate in case of deleted subrepo
When a subrepo is deleted from .hgsub, it also needs to be removed from
.hgsubstate. Previous code was updating .hgsubstate only in case of newly or
modified subrepo.
author | Saint Germain <saintger@gmail.com> |
---|---|
date | Mon, 22 Feb 2010 01:19:59 +0100 |
parents | 2250fc372d34 |
children | 05856e682521 c90d923fff64 |
line wrap: on
line diff
--- a/tests/test-subrepo.out Sun Feb 21 22:16:35 2010 +0100 +++ b/tests/test-subrepo.out Mon Feb 22 01:19:59 2010 +0100 @@ -247,6 +247,13 @@ 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) +% test subrepo delete from .hgsubstate +adding testdelete/nested/foo +adding testdelete/nested2/foo +adding testdelete/.hgsub +committing subrepository nested2 +committing subrepository nested +nested % test repository cloning adding nested_absolute/foo adding nested_relative/foo2