[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Do we want 'svn patch' to be able to add empty files?

From: Branko Čibej <brane_at_xbc.nu>
Date: Sat, 04 Sep 2010 09:48:41 +0200

 On 04.09.2010 02:46, Augie Fackler wrote:
>
> On Sep 2, 2010, at 4:03 AM, Daniel Näslund wrote:
>
>>>> $ svn diff --git
>>>> Index: empty
>>>> ===================================================================
>>>> diff --git a/trunk/empty b/trunk/empty
>>>> new directory mode 10644
>
> I'd recommend testing this against hg/git before using it, but it
> should operate correctly in hg given my recollection of the diff parser.

Come to think of it, it should be at least

    new directory mode 10755

or there might be trouble brewing downstream if anyone ever interprets
the "execute directory" bit in the mode mask ...

-- Brane
Received on 2010-09-04 09:49:24 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.