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

Re: Rolling back a delete

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-09-09 20:17:45 CEST

kfogel@collab.net writes:

> pkahn@connected.com writes:
> > I was working in my test repository and I just deleted tags and all beneath
> > it. I had about 50 or 60 tags there each relating to about 1gb of source.
> > I'd like to roll back the change, but the red bean book suggests using
> > merge. Alas, merge seems to require a working path. I don't want to
> > download all that source.
> >
> > Is there another means of rolling back a change that doesn't require a
> > working directory?
>
> Well, you could do
>
> $ svn cp URL_TO_OLD_TAGS_DIRECTORY URL_TO_NEW_TAGS_DIRECTORY

Actually, I think he wants:

   $ svn cp -r REV_JUST_BEFORE_THE_REMOVAL \
            -m "Restore deleted tags directory" \
            TAGS_URL TAGS_URL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 9 20:19:42 2004

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