diff -r 5b8d08c78854 -r 5b23cdf998d0 hgext/evolution.py --- a/hgext/evolution.py Tue Sep 20 18:15:48 2011 +0200 +++ b/hgext/evolution.py Tue Sep 20 18:16:40 2011 +0200 @@ -246,6 +246,8 @@ wlock = repo.wlock() try: + if not old.state().mutable: + raise util.Abort(_("can not rewrite immutable changeset %s") % old) # commit current changes as update # code copied from commands.commit to avoid noisy messages