[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: Paul Burba <ptburba_at_gmail.com>
Date: Thu, 20 Dec 2012 18:35:28 -0500

On Wed, Dec 19, 2012 at 1:31 PM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> 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.

Thanks for spotting that Philip. Fixed in r1424759

-- 
Paul T. Burba
CollabNet, Inc. -- www.collab.net -- Enterprise Cloud Development
Skype: ptburba
Received on 2012-12-21 00:36:02 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.