mercurial/help/deprecated.txt
author Gregory Szorc <gregory.szorc@gmail.com>
Mon, 27 Aug 2018 09:13:58 -0700
changeset 39378 0f549da54379
parent 37998 5fa4e29ba3e3
permissions -rw-r--r--
stringutil: teach pprint() to indent This will make data structure dumping in various places a bit easier to read and diff. Since I wanted this for `hg debugwireproto` output, I added indentation to it. A more advanced pretty printer implementation would conditionally add newlines if output is too long. But it is vastly simpler to be consistent and always add newlines when indenting. Again, I'm not crazy about the verbosity of the code and there is room to consolidate logic for "print a collection." But this isn't the most complicated code in the world and I'm not convinced it is worth doing. Differential Revision: https://phab.mercurial-scm.org/D4399
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37998
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     1
Mercurial evolves over time, some features, options, commands may be replaced by
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     2
better and more secure alternatives. This topic will help you migrating your
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     3
existing usage and/or configuration to newer features.
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     4
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     5
Commands
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     6
========
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     7
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     8
The following commands are still available but their use are not recommended:
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
     9
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    10
``locate``
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    11
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    12
This command has been replaced by `hg files`.
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    13
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    14
``parents``
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    15
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    16
This command can be replaced by `hg summary` or `hg log` with appropriate
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    17
revsets. See `hg help revsets` for more information.
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    18
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    19
``tip``
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    20
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    21
The recommended alternative is `hg heads`.
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    22
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    23
Options
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    24
=======
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    25
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    26
``web.allowpull``
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    27
    Renamed to `allow-pull`.
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    28
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    29
``web.allow_push``
5fa4e29ba3e3 help: add new deprecated topic
David Demelier <markand@malikania.fr>
parents:
diff changeset
    30
    Renamed to `allow-push`.