Mercurial > public > mercurial-scm > hg
comparison mercurial/scmutil.py @ 33542:b11e8c67fb0f
debugobsolete: also report the number of obsoleted changesets
This seems useful to have the number of obsoleted changesets when calling
debugobsolete.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Sun, 16 Jul 2017 02:33:14 +0200 |
parents | b47fef6d2365 |
children | 377e8ddaebef |
comparison
equal
deleted
inserted
replaced
33541:b47fef6d2365 | 33542:b11e8c67fb0f |
---|---|
1079 lines.append("%s=%s\n" % (k, v)) | 1079 lines.append("%s=%s\n" % (k, v)) |
1080 with self.vfs(self.path, mode='wb', atomictemp=True) as fp: | 1080 with self.vfs(self.path, mode='wb', atomictemp=True) as fp: |
1081 fp.write(''.join(lines)) | 1081 fp.write(''.join(lines)) |
1082 | 1082 |
1083 _reportobsoletedsource = [ | 1083 _reportobsoletedsource = [ |
1084 'debugobsolete', | |
1084 'pull', | 1085 'pull', |
1085 'push', | 1086 'push', |
1086 'serve', | 1087 'serve', |
1087 'unbundle', | 1088 'unbundle', |
1088 ] | 1089 ] |