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

Re: Relocate and inherited props

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 19 Dec 2012 18:31:47 +0000

Paul Burba <ptburba_at_gmail.com> writes:

> On Wed, Dec 19, 2012 at 11:32 AM, Philip Martin
> <philip.martin_at_wandisco.com> wrote:
>> $ svnadmin create repo
>> $ svn mkdir -mm --parents file://`pwd`/repo/A/B/C
>> $ svnmucc -mm -U file://`pwd`/repo propset svn:inheritable:ppp vv1 A propset svn:inheritable:ppp vv2 A/B
>> $ svn co file://`pwd`/repo/A/B/C wc
>> $ mv repo repo2
>> $ svn relocate file://`pwd`/repo file://`pwd`/repo2 wc
>>
>> The inherited props store a full URL:
>>
>> $ sqlite3 wc/.svn/wc.db "select inherited_props from nodes where inherited_props is not null"
>> (file:///home/pm/sw/subversion/obj/repo/A (svn:inheritable:ppp vv1) file:///home/pm/sw/subversion/obj/repo/A/B (svn:inheritable:ppp vv2))
>>
>> Why do we store a full URL and not a relative URL to the root?
>
> We probably don't need to...investigating now.

Another small thing:

$ svn co file://`pwd`/repo wc
$ sqlite3 wc/.svn/wc.db "select local_relpath, inherited_props from nodes where inherited_props is not null"
|()
$ svn up wc
$ sqlite3 wc/.svn/wc.db "select local_relpath, inherited_props from nodes where inherited_props is not null"
$

Checkout creates some sort of empty cache that disappears on update.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-12-19 19:32:27 CET

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.