evolve: ensure evolve command run unfiltered
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 04 Jan 2013 12:42:43 +0100
changeset 651 609faf10d307
parent 650 f88993f745ca
child 652 5a929510de9d
evolve: ensure evolve command run unfiltered
hgext/evolve.py
--- 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: