Mercurial > evolve
diff hgext/evolve.py @ 510:f511d2aa742c stable
evolve: compute "troubled" revs in stabilize only when necessary
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sat, 25 Aug 2012 08:20:50 +0200 |
parents | c072e559746d |
children | ddeb71df916d |
line wrap: on
line diff
--- a/hgext/evolve.py Sat Aug 25 08:17:59 2012 +0200 +++ b/hgext/evolve.py Sat Aug 25 08:20:50 2012 +0200 @@ -1316,9 +1316,9 @@ graftcmd = commands.table['graft'][0] return graftcmd(ui, repo, old_obsolete=True, **{'continue': True}) - troubled = list(repo.revs('troubled()')) tr = _picknexttroubled(ui, repo, anyopt) if tr is None: + troubled = list(repo.revs('troubled()')) if troubled: ui.write_err(_('nothing to evolve here\n')) ui.status(_('(%i troubled changesets, do you want --any ?)\n')