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

Re: undelete?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-20 03:08:59 CET

On Fri, 2004-03-19 at 18:38, Jeff Bowden wrote:

> But if I ran it "higher up" wouldn't it also undo other changes besides
> the specific file or directory I wanted to resurrect?
>

Yes indeed, which is a why a reverse-merge isn't always the best
answer. Here are things to consider:

  * use the --dry-run switch with your merge command, you can see
exactly what's going to happen.

  * sometimes it's okay to do a merge that's "too big", because you can
simply 'svn revert' the extra local mods you don't want.

  * if you want a direct, pinpoint solution, then forget about doing a
reverse merge, and just run 'svn cp URL wc'. There's a very specific
section in chapter 4 about resurrecting deleted items that explains
this.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 20 03:09:30 2004

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.