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

Re: svn loses changes when merging a moved file

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-08 22:23:27 CEST

On Jul 8, 2005, at 10:23 AM, erh@swapsimple.com wrote:

>
> I ran into a problem with trying to merge changes to a file
> that was
> moved. If I have a file, and a branch with the file, I normally
> merge the
> changes on the branch with new changes from the trunk with a
> command like
> this:
> cd /path/to/checkedout/branch
> svn merge -r123:124 http://blah/trunk
>
> This works fine until I move a file on the trunk. The next time I
> do a
> merge after that, the file gets moved on the branch, but ALL changes I
> made on the branch are lost.

They're not lost; the file you were editing becomes 'unversioned',
and the newly renamed file is added. But your data isn't tossed.
It's just not immediately clear where it went.

There's a bug filed on this already, if you want to read more:

http://subversion.tigris.org/issues/show_bug.cgi?id=2282

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 8 22:26:13 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.