Mercurial > hg
view mercurial/help/deprecated.txt @ 42530:dc3fdd1b5af4
state: created new class statecheck to handle unfinishedstates
For the purpose of handling states for various multistep operations like
`hg graft`, `hg histedit`, `hg bisect` et al a new class called statecheck
is created .This will help in having a unified approach towards these commands
and handle them with ease.
The class takes in 4 basic arguments which include the name of the command, the
name of the state file associated with it , clearable flag , allowcommit flag.
This also also adds the support of`checkunfinished()` and
`clearunfinished()` to the class.
Tests remain unchanged.
Differential Revision: https://phab.mercurial-scm.org/D6501
author | Taapas Agrawal <taapas2897@gmail.com> |
---|---|
date | Sun, 09 Jun 2019 00:43:36 +0530 |
parents | 5fa4e29ba3e3 |
children |
line wrap: on
line source
Mercurial evolves over time, some features, options, commands may be replaced by better and more secure alternatives. This topic will help you migrating your existing usage and/or configuration to newer features. Commands ======== The following commands are still available but their use are not recommended: ``locate`` This command has been replaced by `hg files`. ``parents`` This command can be replaced by `hg summary` or `hg log` with appropriate revsets. See `hg help revsets` for more information. ``tip`` The recommended alternative is `hg heads`. Options ======= ``web.allowpull`` Renamed to `allow-pull`. ``web.allow_push`` Renamed to `allow-push`.