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

Relocate and inherited props

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 19 Dec 2012 16:32:42 +0000

$ 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:
Received on 2012-12-19 17:33:22 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.