--- a/mercurial/revlog.py Thu Jan 12 01:25:57 2012 +0100
+++ b/mercurial/revlog.py Fri Jan 13 01:29:03 2012 +0100
@@ -1131,6 +1131,7 @@
"""
# track the base of the current delta log
+ content = []
node = None
r = len(self)
@@ -1161,6 +1162,8 @@
deltabase = chunkdata['deltabase']
delta = chunkdata['delta']
+ content.append(node)
+
link = linkmapper(cs)
if node in self.nodemap:
# this can happen if two branches make the same change
@@ -1190,7 +1193,7 @@
dfh.close()
ifh.close()
- return node
+ return content
def strip(self, minlink, transaction):
"""truncate the revlog on the first revision with a linkrev >= minlink