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

Re: EXTERNALS table -- good or bad?

From: Branko Čibej <brane_at_e-reka.si>
Date: Sat, 08 Oct 2011 17:20:26 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 06.10.2011 22:28, Neels J Hofmeyr wrote:
> This table is / would be very useful if one tries to find all externals
> defined or checked out in a given subtree, without having to first find and
> then parse all externals skels.
>
> But in fact it is little more than a cache for svn:externals props. It
> duplicates information in a way. But it adds the knowledge of exactly which
> repository and relpath an external is from (stores URLs in repos-root and
> repos-relpath, readily parsed from the various formats found in
> svn:externals definitions).

Answer's simple: never store the svn:externals property with the other
props, always parse it into and read it from the EXTERNALS table. After
all, it /is/ a magic property. This can be a completely wc-local
implementation-specific thing.

- -- Brane

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQEcBAEBCgAGBQJOkGo6AAoJECm4ktDIYoUByywIAIwkZNnkBNP1A2YVWe2UcATs
1BXzfnooTowbdCIjgWtXD1xncpiv/+VrcH92yPg5CfuP9V++T5fSrkymRxWqt59y
ls6U50Z9HY2s+xoj3tiKpl7eUn6mBsYc6YdGkqbXg2GVGa8poWIKAGSodPm/LMOt
CsfjpUXbrx34573KFDKL7oKcr16alR/mrzhQHwOFVsAbM41yvFm+TEVnzxLhTYWe
jlwdWiQecPZOpjPfOWVduD8xFEKGJu2ecLt4PLV6YTnCKZH3S9JgleVX13hFIsIw
iHccc2q3NSEFChLSR0F340NCnXCwptSMIh8Fevqkw0pdWKjPMCHrzQYZdZYBl7k=
=N3QR
-----END PGP SIGNATURE-----
Received on 2011-10-08 17:21:04 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.