('r', 'rev', , _("revisions to prune"))],
_('[OPTION] [-r] REV...'))
def cmdprune(ui, repo, *revs, **opts):
mark a changeset as obsolete
+ """ obsolete
- This update the parent directory to a not-killed parent if the current
- working directory parent are killed.
+ Obsolete changesets becomes invisible to all commands.
- XXX check immutable first
+ Non-pruned descendant of pruned changesets becomes "unstable". Use the
+ :hg:`evolve` to handle such situation.
+ When the working directory parent is pruned the repository is updated to a
+ you can use the ``--succ`` option to informs mercurial that a newer version
+ of the pruned changeset exists.
+ XXX this commands needs bookmarks support.