add user to the list of option prevent the "no change found" message to show up
diff --git a/hgext/evolve.py b/hgext/evolve.py --- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -374,8 +374,13 @@ def amend(ui, repo, *pats, **opts): updatenodes = set(cl.nodesbetween(roots=[old.node()], heads=[head.node()])[0]) updatenodes.remove(old.node()) - if not updatenodes and not (opts.get('message') or opts.get('logfile') or opts.get('edit')): - raise error.Abort(_('no updates found')) + okoptions = ['message', 'logfile', 'edit', 'user', 'branch'] + if not updatenodes: + for o in okoptions: + if opts.get(o): + break + else: + raise error.Abort(_('no updates found')) updates = [repo[n] for n in updatenodes] # perform amend