29 from mercurial import cmdutil, error, filelog, revlog, scmutil, util |
29 from mercurial import cmdutil, error, filelog, revlog, scmutil, util |
30 from mercurial.i18n import _ |
30 from mercurial.i18n import _ |
31 |
31 |
32 cmdtable = {} |
32 cmdtable = {} |
33 command = cmdutil.command(cmdtable) |
33 command = cmdutil.command(cmdtable) |
|
34 # Note for extension authors: ONLY specify testedwith = 'internal' for |
|
35 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
|
36 # be specifying the version(s) of Mercurial they are tested with, or |
|
37 # leave the attribute unspecified. |
34 testedwith = 'internal' |
38 testedwith = 'internal' |
35 |
39 |
36 @command('censor', |
40 @command('censor', |
37 [('r', 'rev', '', _('censor file from specified revision'), _('REV')), |
41 [('r', 'rev', '', _('censor file from specified revision'), _('REV')), |
38 ('t', 'tombstone', '', _('replacement tombstone data'), _('TEXT'))], |
42 ('t', 'tombstone', '', _('replacement tombstone data'), _('TEXT'))], |