# HG changeset patch # User Patrick Mezard # Date 1339494782 -7200 # Node ID 1c21865bf8ba6fcc99ae1be4e4a1a12b290dcab3 # Parent de62daaf2054a27f9f03ae469b6e9d5883b989de amend: do not rely on revsingle() default for --change diff -r de62daaf2054 -r 1c21865bf8ba hgext/evolve.py --- a/hgext/evolve.py Tue Jun 12 11:14:02 2012 +0200 +++ b/hgext/evolve.py Tue Jun 12 11:53:02 2012 +0200 @@ -385,7 +385,7 @@ """ # determine updates to subsume - change = opts.get('change') + change = opts.get('change', '.') if change == '.': change = 'p1(p1())' old = scmutil.revsingle(repo, change)