diff -r 53327bfbf35d -r 77088fa862df hgext/convert/hg.py --- 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()