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

Re: how to undo turning a directory into an external?

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 17 Sep 2008 13:56:52 -0400

Any commits done? Externals and directory deletes are (of course)
versioned, so you can always go back to an earlier version of your
repository and backout the undesired changes.

--
David Weintraub
qazwart_at_gmail.com
On Wed, Sep 17, 2008 at 4:47 AM, Robert P. J. Day <rpjday_at_crashcourse.ca> wrote:
>  last night, i had a fairly unpleasant experience transforming a directory
> into an external, then trying to undo that.
>
>  under subversion 1.4.3, i removed a directory in my working copy and
> replaced it with an external reference to an equivalent directory in another
> repository, since they were allegedly identical.  it took only minutes to
> realize that they were *not* identical, so i went about trying to revert
> that change, and that's where the ugliness began.
>
>  sadly, i don't have a record of the steps in front of me, but the first
> attempt to just merge the reverse of that revision in my WC gave me an error
> something along the lines of "directory is already there".  i tried a couple
> more things, and finally had to resort to:
>
>  1) checking out the previous revision
>  2) saving the directory in /tmp
>  3) going back to the new working copy, copying that directory in,
>     "svn add"ing it, and re-committing it as if it were new content
>
>  is/was there an issue with simply undoing that kind of operation?  if
> it's worth the time, i can try it all again on a throwaway branch and
> record the results.  thanks.
>
> rday
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-17 19:57:23 CEST

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.