changeset 147:b0b23d9eede5

kill: properly get revision pointed by --new Previously the raw value on --new ended in the obsolete file.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 20 Mar 2012 10:38:38 +0100
parents e80a6c8ad452
children 8e93e1f67205
files hgext/evolve.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/evolve.py	Tue Mar 13 12:00:40 2012 +0100
+++ b/hgext/evolve.py	Tue Mar 20 10:38:38 2012 +0100
@@ -294,7 +294,7 @@
     """
     wlock = repo.wlock()
     try:
-        new = opts['new']
+        new = set(noderange(repo, opts['new']))
         targetnodes = set(noderange(repo, revs))
         if not new:
             new = [node.nullid]