Mercurial > evolve
comparison hgext3rd/pullbundle.py @ 4201:46cef25fbd96 stable
pullbundle: drop erroneous flagging of the command as basic
This is a debug command, not a basic part of the UI.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 25 Oct 2018 10:01:58 +0200 |
parents | 45d4b49d81d9 |
children | 7d4c80c3f386 |
comparison
equal
deleted
inserted
replaced
4200:3a90986622f7 | 4201:46cef25fbd96 |
---|---|
90 util, | 90 util, |
91 ) | 91 ) |
92 | 92 |
93 from mercurial.i18n import _ | 93 from mercurial.i18n import _ |
94 | 94 |
95 __version__ = '0.1.0' | 95 __version__ = '0.1.1' |
96 testedwith = '4.4 4.5 4.6 4.7.1' | 96 testedwith = '4.4 4.5 4.6 4.7.1' |
97 minimumhgversion = '4.4' | 97 minimumhgversion = '4.4' |
98 buglink = 'https://bz.mercurial-scm.org/' | 98 buglink = 'https://bz.mercurial-scm.org/' |
99 | 99 |
100 cmdtable = {} | 100 cmdtable = {} |
478 if cgversions: | 478 if cgversions: |
479 pversion = version | 479 pversion = version |
480 partdata = (cachedata, nbchanges, pversion) | 480 partdata = (cachedata, nbchanges, pversion) |
481 return _makepartfromstream(newpart, repo, *partdata) | 481 return _makepartfromstream(newpart, repo, *partdata) |
482 | 482 |
483 @command('^debugpullbundlecacheoverlap', | 483 @command('debugpullbundlecacheoverlap', |
484 [('', 'count', 100, _('of "client" pulling')), | 484 [('', 'count', 100, _('of "client" pulling')), |
485 ('', 'min-cache', 1, _('minimum size of cached bundle')), | 485 ('', 'min-cache', 1, _('minimum size of cached bundle')), |
486 ], | 486 ], |
487 _('hg debugpullbundlecacheoverlap [--client 100] REVSET')) | 487 _('hg debugpullbundlecacheoverlap [--client 100] REVSET')) |
488 def debugpullbundlecacheoverlap(ui, repo, *revs, **opts): | 488 def debugpullbundlecacheoverlap(ui, repo, *revs, **opts): |