diff hgext/evolve.py @ 651:609faf10d307

evolve: ensure evolve command run unfiltered
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 04 Jan 2013 12:42:43 +0100
parents d318fbb1cd67
children 5a929510de9d
line wrap: on
line diff
--- a/hgext/evolve.py	Fri Jan 04 11:47:45 2013 +0100
+++ b/hgext/evolve.py	Fri Jan 04 12:42:43 2013 +0100
@@ -960,6 +960,8 @@
         else:
             ui.write_err(_('no troubled changeset\n'))
             return 1
+    repo = repo.unfiltered()
+    tr = repo[tr.rev()]
     cmdutil.bailifchanged(repo)
     troubles = tr.troubles()
     if 'unstable' in troubles: