Mercurial > public > mercurial-scm > hg
diff mercurial/store.py @ 8210:344751cd8cb8
replace various uses of list.reverse()
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Apr 2009 16:50:44 -0500 |
parents | a1a5a57efe90 |
children | 46293a0c7e9f |
line wrap: on
line diff
--- a/mercurial/store.py Sun Apr 26 16:50:44 2009 -0500 +++ b/mercurial/store.py Sun Apr 26 16:50:44 2009 -0500 @@ -183,9 +183,7 @@ for x in self.datafiles(): yield x # yield manifest before changelog - meta = self._walk('', False) - meta.reverse() - for x in meta: + for x in reversed(self._walk('', False)): yield x def copylist(self):