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

Re: check out on top of existing tree

From: Saulius Grazulis <grazulis_at_ibt.lt>
Date: 2005-06-08 11:43:25 CEST

On Wednesday 08 June 2005 12:34, Max Bowsher wrote:

> > Now, how do I checkout on top of the full vendor tree?
> > $ cd $VENDOR_HOME
> > $ svn checkout https://.../vendor/trunk .
> > svn: Failed to add directory 'foo': object of the same name already
> > exists
> >
> > What's the right way to do this?
>
> I'm not actually aware of any convenient way to do this. I think perhaps
> this is a missing feature.

I think you can just remove the original foo (I mean, move it to a safe
place ;) and check out the versioned copy:

mv foo foo-DIST
svn co https://.../vendor/trunk/foo

Later on, you can update:

svn update

should refresh just the versioned files.

If you commit from the vendor tree as well, you may want to add all other
files to the svn ignore property, so that they do not pop up with question
marks all the time.

-- 
Dr. Saulius Grazulis
Institute of Biotechnology
Graiciuno 8
LT-02241 Vilnius
Lietuva (Lithuania)
fax:          (+370-5)-2602116
tel.: office: (+370-5)-2602556
      mobile: (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Wed Jun 8 11:47:44 2005

This is an archived mail posted to the Subversion Users mailing list.