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

Re: reverse merging a delete operation

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-08-13 18:36:38 CEST

On Friday 12 August 2005 19:58, David Weintraub wrote:
> Why not use an "svn cp" to copy the deleted folder into the new
> release? Something like this:
>
> $svn co $REP/foo/releases releases
> $ cd releases
> $ svn cp $REP/foo-lib@409 .
>
> Or more simply:
>
> $svn cp $REP/foo-lib@409 $REP/foo/releases -m "Undeleting the foo-lib
> folder"
>
> Not sure of the exact syntax, but you get the idea.

That's exactly what I did eventually, but I was interested in the more generic
way, i.e. using reverse merging to undo some action.

Also, I suspect a bug:

> > svn merge -r410:409 $REP/foo-lib@409 .
> >
> > Still doesn't work (File not found: revision 410, path '/foo-lib').

The message is completely right, but the fact that the path doesn't exist is
just an indicator that something was deleted. IMHO it should be able to
perform the operation.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 13 18:40:46 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.