# HG changeset patch # User Pierre-Yves David # Date 2014-09-28 19:47:25 # Node ID f4e39ceb064a0caa17db87c7b553287cfa547552 # Parent c9276945eba3c4fe659cc3e961c7577c64439484 subrepo: stop pulling bookmark manually Bookmark pulling is now done with all the other pull steps in the `exchange.pull` function. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -9,7 +9,7 @@ import errno, os, re, shutil, posixpath, import xml.dom.minidom import stat, subprocess, tarfile from i18n import _ -import config, util, node, error, cmdutil, bookmarks, match as matchmod +import config, util, node, error, cmdutil, match as matchmod import phases import pathutil import exchange @@ -743,10 +743,7 @@ class hgsubrepo(abstractsubrepo): self._repo.ui.status(_('pulling subrepo %s from %s\n') % (subrelpath(self), srcurl)) cleansub = self.storeclean(srcurl) - remotebookmarks = other.listkeys('bookmarks') self._repo.pull(other) - bookmarks.updatefromremote(self._repo.ui, self._repo, - remotebookmarks, srcurl) if cleansub: # keep the repo clean after pull self._cachestorehash(srcurl)