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

Re: excellent GIT video

From: Mark Reibert <svn_at_reibert.com>
Date: 2007-11-02 06:56:16 CET

On Thu, 2007-11-01 at 11:41 -0400, Greg Hudson wrote:
> >From a theoretical viewpoint, I'm not sold. I don't believe you can
> create reliable rename heuristics based purely on tree state. A simple
> query operation like "show me this file's history and don't stop at
> renames" seems likely to erroneously bottom out a lot, or erroneously
> show you a file that wasn't actually part of the history at all. And a
> merge in the presence of tree reorganizations (on either side) seems
> prone to catastrophic failure. That's certainly no worse than
> Subversion--but when Subversion's poor tree merging is a major selling
> point for alternative version control systems, I think you want to do
> better than you can with heuristics.

Linus would tell you renames do not matter; rather tracking file content
is important.

I am not sure how I feel about that. On one hand, it is not difficult to
dream up realistic scenarios where this makes sense. For example, if I
move a routine from one file to another, Git will track this nicely
whereas a file-based versioning tool will just see (unrelated) changes
in two files. On the other hand, it just feels weird!

-- 
----------------------
Mark S. Reibert, Ph.D.
svn@reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 2 06:56:26 2007

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.