[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: Bert Huijben <bert_at_vmoo.com>
Date: Wed, 19 Dec 2012 09:14:53 -0800

We should store relative paths.

Bert Huijben (Cell phone)
From: Philip Martin
Sent: 19-12-2012 17:33
To: dev_at_subversion.apache.org
Subject: Relocate and inherited props
$ 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?

If we do have to store the full URL should it be rewritten by relocate?

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-12-19 18:15:28 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.