Comments
Patch
@@ -55,6 +55,7 @@
common.checktool('p4', abort=False)
+ self.revmap = {}
self.p4changes = {}
self.heads = {}
self.changeset = {}
@@ -80,6 +81,9 @@
"multiple revisions"))
self._parse(ui, path)
+ def setrevmap(self, revmap):
+ self.revmap = revmap
+
def _parse_view(self, path):
"Read changes affecting the path"
cmd = 'p4 -G changes -s submitted %s' % util.shellquote(path)
@@ -135,6 +139,9 @@
continue
if self.revs and int(change) > int(self.revs[0]):
continue
+ if change in self.revmap:
+ lastid = change
+ continue
cmd = "p4 -G describe -s %s" % change
stdout = util.popen(cmd, mode='rb')