changeset 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 f88993f745ca
children 5a929510de9d
files hgext/evolve.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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: