Commits

Patrick Mézard committed f511d2a

evolve: compute "troubled" revs in stabilize only when necessary

  • Participants
  • Parent commits c072e55

Comments (0)

Files changed (1)

File hgext/evolve.py

         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')