[PATCH] Add %includeifexists, a new type of hgrc include

Martin Geisler mg at lazybytes.net
Tue May 31 16:48:59 CDT 2011


Matt Mackall <mpm at selenic.com> writes:

> On Tue, 2011-05-31 at 17:57 +0200, Martin Geisler wrote:
>> Matt Mackall <mpm at selenic.com> writes:
>> 
>> > On Tue, 2011-05-31 at 17:30 +0200, Martin Geisler wrote:
>> >> Matt Mackall <mpm at selenic.com> writes:
>>
>> > Unfortunately, there are no ui objects at this layer.
>> 
>> Then I prefer just ignoring the exception -- I prefer that over
>> introducing a new %tryinclude directive.
>
> Ok, I've queued a fix that ignores include errors for nonexistent
> files.

Perfect, thanks!

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- 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/20110531/a26fa0b2/attachment.pgp>


More information about the Mercurial-devel mailing list