D6987: strip: move strip extension to core as debugstrip
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Oct 7 21:06:31 EDT 2019
marmoute added inline comments.
> """strip changesets and their descendants from history
> -This extension allows you to strip changesets and all their descendants from the
> -repository. See the command help for details.
> +strip extension has been renamed to debugstrip and moved to core. However,
> +this extension is to preserve the old `strip` name forusers that are used
> +to that.
Why do we need that much code to remain into `hgext/strip.py`. What I would expect to see is a very small file that only register debugstrip as `strip`.
> + [
> + ('r', 'rev', , _('strip specified revision (optional, can specify '
> + 'revisions without this option)'), _('REV')),
> + ('f', 'force', None, _('force removal of changesets, discard uncommitted'
> + ' changes (no backup)')),
> + ('', 'no-backup', None, _('do not save backup bundle')),
> + ('', 'nobackup', None, _('do not save backup bundle (DEPRECATED)')),
What is going on here? IT seems like the same code with a different formatting.
CHANGES SINCE LAST ACTION
To: navaneeth.suresh, durin42, #hg-reviewers
Cc: marmoute, mjpieters, mercurial-devel
More information about the Mercurial-devel