mercurial/bookmarks.py
changeset 18008 cf91b36f368c
parent 17922 7f5dab94e48c
child 18043 20459152c7ac
--- a/mercurial/bookmarks.py	Mon Oct 08 17:41:07 2012 +0200
+++ b/mercurial/bookmarks.py	Mon Oct 08 17:26:23 2012 +0200
@@ -256,6 +256,7 @@
 
 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