hgext/evolve.py
branchstable
changeset 561 897f6da2314e
parent 554 39eb12bb47c0
child 562 b1bdcb4506de
--- a/hgext/evolve.py	Tue Sep 11 16:19:27 2012 +0200
+++ b/hgext/evolve.py	Wed Sep 12 14:24:23 2012 +0200
@@ -2062,9 +2062,8 @@
     """Fold multiple revisions into a single one"""
     revs = list(revs)
     revs.extend(opts['rev'])
-    if not revs:
-        revs = ['.']
-    revs = scmutil.revrange(repo, revs)
+    if revs:
+        revs = scmutil.revrange(repo, revs)
     if not revs:
         ui.write_err('no revision to fold\n')
         return 1