You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by kf...@collab.net on 2004/09/09 16:24:03 UTC

Re: Rolling back a delete

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Rolling back a delete

Posted by kf...@collab.net.
"C. Michael Pilato" <cm...@collab.net> writes:
> > 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

Yup -- that's what I meant.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Rolling back a delete

Posted by "C. Michael Pilato" <cm...@collab.net>.
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