Re: RFC: Standardizing a 'svn:branch' (boolean) property
From: Trent Nelson <trent_at_snakebite.org>
Date: Mon, 16 Jul 2012 09:25:21 -0700
On Jul 16, 2012, at 11:17 AM, C. Michael Pilato wrote:
> On 07/16/2012 09:41 AM, Stefan Sperling wrote:
That's exactly how I did it with Enversion. "In the beginning, there was /trunk.". (Or at least, '^.*/trunk$'.)
It worked for ~95% of all cases. There were 3% of repos that never had a trunk, and 2% that had a severely broken branch (i.e. the branch was manually created via mkdir, then random code from other parts of the tree was manually copied over) that unfortunately was still active.
(So, those corner cases have to be handled manually now by Enversion. But, as we have the framework for storing forward-copy information, I've got an enhancement in mind that'll use a heuristic to detect, during analysis, that a really-badly-broken-directory-that-just-happens-to-be-a-branch-root is still in use as in regularly being copied/branched from.)
Trent.
|
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.