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