Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
10521:bde1bb250fc2 | 10522:b07d487009b2 |
---|---|
245 adding e | 245 adding e |
246 committing subrepository s | 246 committing subrepository s |
247 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 247 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
248 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 248 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
249 (branch merge, don't forget to commit) | 249 (branch merge, don't forget to commit) |
250 % test subrepo delete from .hgsubstate | |
251 adding testdelete/nested/foo | |
252 adding testdelete/nested2/foo | |
253 adding testdelete/.hgsub | |
254 committing subrepository nested2 | |
255 committing subrepository nested | |
256 nested | |
250 % test repository cloning | 257 % test repository cloning |
251 adding nested_absolute/foo | 258 adding nested_absolute/foo |
252 adding nested_relative/foo2 | 259 adding nested_relative/foo2 |
253 adding main/.hgsub | 260 adding main/.hgsub |
254 committing subrepository nested_relative | 261 committing subrepository nested_relative |