# HG changeset patch # User Pierre-Yves David # Date 2012-10-08 15:26:23 # Node ID cf91b36f368c1cea9a763095b6cc5202a436798e # Parent 2e30972d859db3ce485a39baa3d0467b4e6e754a clfilter: `bookmark.validdest` should run on unfiltered repo The logic recently added to `bookmark.validdest` uses data about obsolete changesets to see if a bookmark destination is valid. Obsolete changesets are likely to be filtered, so we need to work on an unfiltered repository. diff --git a/mercurial/bookmarks.py b/mercurial/bookmarks.py --- a/mercurial/bookmarks.py +++ b/mercurial/bookmarks.py @@ -256,6 +256,7 @@ def diff(ui, dst, src): def validdest(repo, old, new): """Is the new bookmark destination a valid update from the old one""" + repo = repo.unfiltered() if old == new: # Old == new -> nothing to update. return False