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

Martin Geisler mg at lazybytes.net
Fri Nov 6 18:10:00 CST 2009


Peter Arrenbrecht <peter.arrenbrecht at gmail.com> writes:

> 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.)

Yeah, I'll update the minirst parser for that after 1.4.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20091107/d4ba3e8e/attachment.pgp 


More information about the Mercurial-devel mailing list