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

RE:[SOLVED] Repository Directory Tree

From: Williams, Allen <awilli08_at_harris.com>
Date: Mon, 13 Sep 2010 12:53:11 -0400

-----Original Message-----
From: Giulio Troccoli [mailto:Giulio.Troccoli_at_uk.linedata.com]
Sent: Mon 9/13/2010 12:33 PM
To: anw-dist_at_infoisland.net; users_at_subversion.apache.org
Subject: RE: Repository Directory Tree
 
> >

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: Giulio Troccoli [mailto:Giulio.Troccoli_at_uk.linedata.com]
> > Sent: Monday, September 13, 2010 3:52 AM
> > To: anw-dist_at_infoisland.net; users_at_subversion.apache.org
> > Subject: RE: Repository Directory Tree
> >
> > 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
>
> Sorry about the top post. I'm also active on another mailing
> list regarding dovecot where you are *supposed* to top post.
> Again maybe I should have RTFM'd!

It's ok :-) Now you know

> OK- I think I understand. What the directory had in it was a
> copy of what I put into the repository; I hadn't made any
> changes since it went it went in, so it should be fine. All
> other directories similarly; so, if I understand correctly,
> if I delete them all first or just use --force to check them
> out, it should be the same.

> I'm not 100%. As I said I'm a bit uncomfortable in using the --force option. I'd rather check > out in a new directory.
>
> G

It sounds like good advice. At least for the first few, I will check them out in an empty directory and compare them, then clear out the old directory and check them out into the one I really want to use.

Thanks for all the help!!

Allen
Received on 2010-09-14 10:43:46 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.