[issue2022] subrepos update : main repo update doesn't update nested repo

SaintGermain bugs at mercurial.selenic.com
Thu Feb 4 17:35:57 UTC 2010


New submission from SaintGermain <saintger at gmail.com>:

While using subrepositories, it seems that updating the main repository
doesn't trigger the subrepositories updating process.

Test Case :
After a commit on the main repositories, change the subrepository and try to
update to the previous state.

hg init main
cd main
hg init nested
echo test > nested/foo
hg -R nested add nested/foo
echo nested = nested > .hgsub
hg add .hgsub
hg ci -mtest
echo modification > nested/foo
hg -R nested commit -mmodif
hg update
hg update -C -r 0

Nothing is updated.

----------
messages: 11601
nosy: SaintGermain
priority: urgent
status: unread
title: subrepos update : main repo update doesn't update nested repo
topic: subrepositories

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2022>
____________________________________________________


More information about the Mercurial-devel mailing list