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

Re: Add ".svn-base" suffix to the pristine files in 1.7

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 18 May 2011 06:57:28 -0400

On Wed, May 18, 2011 at 06:54, Hyrum K Wright <hyrum_at_hyrumwright.org> wrote:
> On Wed, May 18, 2011 at 12:35 PM, Konstantin Kolinko
> <knst.kolinko_at_gmail.com> wrote:
>> Hi, all!
>>
>> Right now the files in the pristine storage of 1.7 wc are named just
>> by their checksums, e.g.
>>
>> .svn/pristine/00/00014966dd2c75cedf7fc9989accf25e54685e58
>>
>> I think it would be better to add ".svn-base" suffix to those names,
>> so the above becomes
>>
>> .svn/pristine/00/00014966dd2c75cedf7fc9989accf25e54685e58.svn-base
>>
>> The rationale is to be able to ignore those files using a filename mask,
>> like it was in svn 1.6.
>
> I would think you could ignore these files via other means, and am
> having a hard time understanding the problem you are encountering.
> What problem are you running into?

As I recall, we added .svn-base so that a simple "find . -name foo.c"
would not turn up the working copy file AND the pristine. CMike says
that we also wanted the extension on there so that if it appeared in
an editor, you would know that you're not editing a pristine.

In both of those cases, our new naming avoids a simple "find", and it
is very clear you're editing a pristine (given its funky name).

And rather than filtering on .svn-base, you can filter on .svn/pristine

Cheers,
-g
Received on 2011-05-18 12:57:58 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.