cmdutil: changed walkchangerevs to use spanset instead of baseset
Using a spanset takes almost no memory at all. A baseset builds the entire
list in memory and is much slower for methods like __contains__.
--- a/mercurial/cmdutil.py Mon Feb 24 16:36:17 2014 -0800
+++ b/mercurial/cmdutil.py Wed Mar 05 18:49:47 2014 -0800
@@ -1296,7 +1296,7 @@
elif follow:
revs = repo.revs('reverse(:.)')
else:
- revs = revset.baseset(repo)
+ revs = revset.spanset(repo)
revs.reverse()
if not revs:
return []