On Apr 11, 2005, at 3:30 PM, kfogel@collab.net wrote:
>> It would be even nicer if subversion could notice this commonality
>> when asked for a diff, and save time.
>
> It would only be nice if it happens often enough to be worth the extra
> code.
>
> Gathering statistics on this would not be hard. I can't tell whether
> or not you're arguing that that shouldn't be the first step, though.
I can give you one data point and say that in a couple repos that I
oversee, we have quite a bit of this going on. A lot of code is
identical on different branches and many bug fixes go into three
branches currently and enhancements go into two or three branches.
Many of these changes are identical diffs into identical files ending
in an identical result. Some are identical diffs into
no-longer-identical files.
Also, because of the multistep import process that I employed from
CMVC->CVS->Subversion, each imported branch looks like it was
unrelated to the other branches though there are a lot of duplicate
files throughout the history of the branches (as one would expect). I
started to work out a smarter import, but decided it wasn't worth my
time for the just-once savings: the largest fsfs repos that I have is
an unremarkable 100 Mb.
-Travis
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 12 07:46:38 2005