[PATCH 1 of 1] Add support for ui.one_filesystem in hgrc

Benoit Boissinot bboissin at gmail.com
Wed Mar 31 06:29:22 CDT 2010


On Wed, Mar 31, 2010 at 1:14 PM, Martin Geisler <mg at lazybytes.net> wrote:
> Dirkjan Ochtman <dirkjan at ochtman.nl> writes:
>
>> On Tue, Mar 30, 2010 at 23:57, Lars Damerow <lars at pixar.com> wrote:
>>> # HG changeset patch
>>> # User Lars R. Damerow <lars at pixar.com>
>>> # Date 1269980725 25200
>>> # Node ID bc43b3bdaac0239b0294c9a7b7ec918c8df56f2d
>>> # Parent  ef3668450cd0075978e2d11ec991aab557d9c59c
>>> Add support for ui.one_filesystem in hgrc
>>>
>>> This patch makes Mercurial pay attention to the ui.one_filesystem
>>> hgrc variable. When that variable is set to true, Mercurial will stop
>>> looking for a repo directory when it attempts to cross a filesystem
>>> boundary.
>>
>> I like the idea, but not the name... Can't think of a better one right
>> now, though.
>
> find(1) command calls this -mount or -xdev, though I don't think those
> names more intuitive. rsync(1) calls it -x, --one-file-system. Perhaps
> we could call it ui.cross-filesystems and let it default to True. The
> user will then do
>
>  [ui]
>  cross-filesystems = False
>
> in his hgrc file. In any case, we should update doc/hgrc.1.txt too.

I'm not sure the name makes it clear this option is only used when
finding repo root (not on add/status/etc.).

regards,

Benoit


More information about the Mercurial-devel mailing list