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

Re: accidentily created directory remains

From: Helge Kruse <Helge.Kruse-nospam_at_gmx.net>
Date: Tue, 6 Jan 2009 20:23:51 +0100

Hi Bob,

thanks for reply.

----- Original Message -----
From: "Bob Archer" <Bob.Archer_at_amsi.com>
To: <users_at_subversion.tigris.org>
Sent: Tuesday, January 06, 2009 4:25 PM
Subject: RE: accidentily created directory remains

> I know this is the svn list... but personally I find doing stuff like
> this much easier using the TortoiseSVN repository browser. Of course, if
> you don't use Windows you can't use that.
I dont want to use the TSVN repository browser, since it creates new
revisions for each modification in the repository. I wrote only about
one directory, but I need to handle a selection of bunches of directories.
As you've seen this is error prone and I need a revert functionality.
This is not available in TSVN repository browser.

> You might want to just delete your working directory and re-checkout the
> repository.
Yeah. I read this "blow away and re-check out" often in SVN context. But the
directory is holds the (versioned) source code and the (unversioned) data.
So I have to rename the old dir, re-check out and merge manually a lot of
directories. Is the the only SVN solution?

> > svn copy /trunk/Product /branch/x.y/Product

> If your products are each separate you may want to create trunk/branch
> folders for each product. So, rather than:
In my example the "Product" is not a place holder for any product, but
a real directory name. I need also
 /branch/x.y/Test/
 /branch/x.y/Experiments/
 /branch/x.y/Setup/

That's why this is inappropriate:
> It keeps things much more organized.

> > svn mkdir x.y
> > svn: 'x.y' is already under version control

> If you do an update and don't see x.y but it is reported as already
> versioned and you are sure it's not then as I said about, I would blow
> away the WC and re-checkout.
As mentiond above that's no solution. I have seen that the x.y directory
is found in the file .svn/entries even if I use "svn revert". Is there no possibility to get ride of my mistake without blow away of
the directory
tree?

Regards,
Helge

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008293

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-06 20:49:49 CET

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.