equal
deleted
inserted
replaced
385 return c |
385 return c |
386 |
386 |
387 def numcommits(self): |
387 def numcommits(self): |
388 output, ret = self.gitrunlines('rev-list', '--all') |
388 output, ret = self.gitrunlines('rev-list', '--all') |
389 if ret: |
389 if ret: |
390 raise error.Abort(_('cannot retrieve number of commits in %s') \ |
390 raise error.Abort(_('cannot retrieve number of commits in %s') |
391 % self.path) |
391 % self.path) |
392 return len(output) |
392 return len(output) |
393 |
393 |
394 def gettags(self): |
394 def gettags(self): |
395 tags = {} |
395 tags = {} |