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

Re: Code Loss!?

From: Dmitri Colebatch <dim_at_colebatch.com>
Date: 2007-04-16 23:38:09 CEST

> > Thanks - can I ask one further question (we've only been
> > using Subversion for a few months, having come across from
> > CVS). My understanding is that Subversion has no distinction
> > between a file that has been copied, and a file that has been
> > renamed. In both cases the new file is simply a file that
> > has inherited history. Is this correct?
>
> I think you are correct. A rename in Subversion is implemented as a copy
> and a delete. The Subversion designers have recognized for some time
> that this was a design mistake.

That would be this issue:
http://subversion.tigris.org/issues/show_bug.cgi?id=898 (sorry - I
should have looked first).

> > The reason I ask is that I think there is a difference. The
> > main one being the difference between creating a branch, and
> > renaming a file on that branch. I assume the lack of
> > distinction between these two activities is the reason why
> > this functionality is missing. Correct?
> >
> Sorry, I didn't really understand this paragraph.

Sorry. Internally, there's not much SVN can do on this front (as I
understand it) without knowing if a new file with history is a move,
copy, or "file split". I think this is better covered in the above
bug already - thanks for your help.

cheers,
dim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 16 23:38:26 2007

This is an archived mail posted to the Subversion Users mailing list.