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

Re: why would renaming a file lose all of its history?

From: <kfogel_at_collab.net>
Date: 2006-03-30 15:43:32 CEST

"Robert P. J. Day" <rpjday@mindspring.com> writes:
> a colleague (via e-mail) is claiming that renaming a file in an SVN
> repository causes it to lose all of its history. i'm pretty sure
> that's not supposed to happen. is there a common mistake he might be
> making that causes this? (sorry, that's about as much detail as i can
> supply at the moment.)

He's both right and wrong.

Subversion's renames are not implemented as cleanly as they could be.
See http://subversion.tigris.org/issues/show_bug.cgi?id=898 -- it's a
known issue. Garrett Rooney and others are actively working on it, do
'svn log http://svn.collab.net/repos/svn/branches/fs-atomic-renames'
for more details.

But this does not mean that renames "lose all history" today. They
don't. Renames are implemented as a copy and a delete together right
now, and Subversion knows how to trace copy history. Whether issue
#898 will affect you can't be answered out of context, it just depends
on what sorts of things you're trying to do.


www.collab.net  <>  CollabNet  |  Distributed Development On Demand
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 30 20:49:56 2006

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