evolve: fix manifest usage to match upstream
The manifest class upstream is no longer a dictionary, so switch to using an API
it does support.
--- a/hgext/evolve.py Fri Mar 13 09:04:12 2015 -0700
+++ b/hgext/evolve.py Fri Mar 13 09:05:34 2015 -0700
@@ -1422,8 +1422,11 @@
files = set()
copied = copies.pathcopies(prec, bumped)
precmanifest = prec.manifest()
- for key, val in bumped.manifest().items():
- if precmanifest.pop(key, None) != val:
+ for key, val in bumped.manifest().iteritems():
+ precvalue = precmanifest.get(key, None)
+ if precvalue is not None:
+ del precmanifest[key]
+ if precvalue != val:
files.add(key)
files.update(precmanifest) # add missing files
# commit it