[PATCH 1 of 1] Issue919 addendum: advertise in clone help text

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Fri Nov 6 16:22:45 CST 2009


On Fri, Nov 6, 2009 at 6:03 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Fri, 2009-11-06 at 14:02 +0000, Jesse Glick wrote:
>> # HG changeset patch
>> # User Jesse Glick <jesse.glick at sun.com>
>> # Date 1257516045 18000
>> # Node ID b8d96b2e4ae1354ca91fc705431ec71ad21d9fa7
>> # Parent  00ab4eee3e2712e09c1f38e4eff61bbd3e4a1365
>> Issue919 addendum: advertise in clone help text.
>>
>> diff --git a/mercurial/commands.py b/mercurial/commands.py
>> --- a/mercurial/commands.py
>> +++ b/mercurial/commands.py
>> @@ -625,7 +625,8 @@
>>      to the repository data, not to the checked out files). Some
>>      filesystems, such as AFS, implement hardlinking incorrectly, but
>>      do not report errors. In these cases, use the --pull option to
>> -    avoid hardlinking.
>> +    avoid hardlinking. Conversely, if you used --rev but wanted hardlinks,
>> +    you can use the relink extension after cloning.
>
> Interesting. In general, we don't advertise extensions this way, as
> people might get themselves into trouble with them and just generally be
> confused by extra complexity. Not sure if we want to start?

Maybe we could start once we can flag advanced help text, and only
show it on request? (There was a discussion about different verbosity
levels in the help text some time ago.)
-parren



More information about the Mercurial-devel mailing list