hgext/convert/hg.py
changeset 41179 77088fa862df
parent 39272 73cf21b2e8a6
child 41387 876494fd967d
--- a/hgext/convert/hg.py	Thu Jan 10 14:32:36 2019 -0800
+++ b/hgext/convert/hg.py	Wed Jan 09 14:33:06 2019 -0500
@@ -597,6 +597,9 @@
                              saverev=self.saverev,
                              phase=ctx.phase())
 
+    def numcommits(self):
+        return len(self.repo)
+
     def gettags(self):
         # This will get written to .hgtags, filter non global tags out.
         tags = [t for t in self.repo.tagslist()