diff -r 2fad18f15409 -r 260a6449d83a mercurial/subrepo.py --- a/mercurial/subrepo.py Tue Dec 06 14:17:33 2011 -0600 +++ b/mercurial/subrepo.py Wed Dec 07 16:19:39 2011 -0600 @@ -484,7 +484,8 @@ self._repo.ui.status(_('pulling subrepo %s from %s\n') % (subrelpath(self), srcurl)) self._repo.pull(other) - bookmarks.updatefromremote(self._repo.ui, self._repo, other) + bookmarks.updatefromremote(self._repo.ui, self._repo, other, + srcurl) def get(self, state, overwrite=False): self._get(state)