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

RE: Repository Directory Tree

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Mon, 13 Sep 2010 08:52:25 +0100

Please don't top post. On this ML the net-etiquette requires you to post your reply at the bottom
>

Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

-----Original Message-----

> From: Aladdin [mailto:aladdin_at_csunv.com]
> Sent: 12 September 2010 19:56
> To: users_at_subversion.apache.org
> Subject: RE: Repository Directory Tree
>
> Oops! Sorry- should ALWAYS RTFM!! I used " svn up
> NetDataSvc --force", and it *seemed* to work!
>
> Is this what I should have done, and now will need to do for
> each project I check out for the first time after doing this?
>
> Regards,
> Allen
>
> > -----Original Message-----
> > From: Aladdin [mailto:aladdin_at_csunv.com]
> > Sent: Sunday, September 12, 2010 2:48 PM
> > To: 'Giulio Troccoli'; users_at_subversion.apache.org
> > Subject: RE: Repository Directory Tree
> >
> > Giulio,
> >
> > That seemed to work well, except now when I try to checkout
> one of my
> > projects, I get this:
> >
> > anw-dev:/home/anw/TechProjects# svn co file:///var/svn/NetDataSvc .
> > svn: Failed to add directory 'NotUsed': an unversioned directory of
> > the same name already exists
> >
> > "NotUsed" contains, as the name implies, a couple of C++
> and .h source
> > files that I'm not currently using but wanted to hang on
> to. It is a
> > subdirectory under NetDataSvc.

From the error message I guess /home/anw/TechProjects was not empty when you tried the checkout. Using the --force option you have overwritten the content of /home/anw/TechProjects/NotUsed with whatever it was in the repository (it should have left untouched all those files that are not in the repository).

I don't know whether that was what you should have done. Maybe, or maybe not. Only you can be the judge of that, because you know what was in that directory before you check your working copy out. As per having to do use --force every time, I wouldn't think so. I mean, you would need to make a judgement call if you already have a NotUsed directory, but if you do everytime, I would question why you do. I personally would check out a fresh new working copy in a non, yet, existing directory.

G
Received on 2010-09-13 09:53:24 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.