# HG changeset patch # User Patrick Mezard # Date 1345875988 -7200 # Node ID ddeb71df916d349e85c4f51b38408cf6b32d82ec # Parent f511d2aa742cf565c98c8004829aa5a05b9357bc evolve: localrepo.revs() already returns a list diff -r f511d2aa742c -r ddeb71df916d hgext/evolve.py --- a/hgext/evolve.py Sat Aug 25 08:20:50 2012 +0200 +++ b/hgext/evolve.py Sat Aug 25 08:26:28 2012 +0200 @@ -675,8 +675,8 @@ Changesets with troubles. """ _ = revset.getargs(x, 0, 0, 'troubled takes no arguments') - return list(repo.revs('%ld and (unstable() + latecomer() + conflicting())', - subset)) + return repo.revs('%ld and (unstable() + latecomer() + conflicting())', + subset) ### Obsolescence graph @@ -1318,7 +1318,7 @@ tr = _picknexttroubled(ui, repo, anyopt) if tr is None: - troubled = list(repo.revs('troubled()')) + troubled = repo.revs('troubled()') if troubled: ui.write_err(_('nothing to evolve here\n')) ui.status(_('(%i troubled changesets, do you want --any ?)\n')