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

how to undo turning a directory into an external?

From: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Wed, 17 Sep 2008 04:47:14 -0400

   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.


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 10:47:44 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.