changeset 16197 | 0196c437ca9f |
parent 16072 | bcb973abcc0b |
parent 16196 | 8ae7626d8bf1 |
child 16429 | 71dcce391a44 |
--- a/mercurial/subrepo.py Tue Feb 28 21:17:53 2012 -0600 +++ b/mercurial/subrepo.py Wed Feb 29 17:27:24 2012 -0600 @@ -508,7 +508,7 @@ anc = dst.ancestor(cur) def mergefunc(): - if anc == cur: + if anc == cur and dst.branch() == cur.branch(): self._repo.ui.debug("updating subrepo %s\n" % subrelpath(self)) hg.update(self._repo, state[1]) elif anc == dst: