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

Re: Checkout from multiple reps

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2003-02-28 21:14:01 CET

"Mness" <mness@one.net> writes:
> If my repository looks like so:
>
> Trunk
> |-CopyProj
> | |-Bin (copy.exe)
> | |-Copy (copy.cpp)
> |
> |-PasteProj
> | |-Bin (paste.exe)
> | |-Paste (paste.cpp)
> |
> |-CPWorkspace
>
> And 'svn propget svn:externals CPWorkspace' shows:
> test file:///C:/backup/svn/trunk/CopyProj
> test file:///C:/backup/svn/trunk/PasteProj
> only the second line is executed.

Right. That should probably throw an error. You're trying to check 2
things out inside of the same subdir. Read on...
 
> If it looks like:
> . file:///C:/backup/svn/trunk/CopyProj
> . file:///C:/backup/svn/trunk/PasteProj

> I get the obstructed update error stating that URL ... does not
> match existing URL. I am sure only the second line is still
> being executed as well (the conflict is with CPWorkspace and
> PasteProj).

Right. That should also throw an error. You're trying to check 2
things out into the current directory. Read on...
 
> My goal is to get:
>
> CPWorkspace
> |-Bin (copy.exe paste.exe)
> |
> |-Copy (copy.cpp)
> |
> |-Paste (paste.cpp)
>
> as my working tree. Are these the 'some bugs' that you mentioned,
> or am I not getting it? If this is just something that should never
> work, I guess I could put

You're not getting it. :) Try this out as your svn:externals property
value:

Copy file:///C:/backup/svn/trunk/CopyProj
Paste file:///C:/backup/svn/trunk/PasteProj

It looks like you just misunderstood how externals work. Take a look
at http://svnbook.red-bean.com/html-chunk/ch06s03.html if you haven't
already.

-Fitz

--
Brian W. Fitzpatrick    <fitz_at_red-bean.com>   http://www.red-bean.com/fitz/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 28 21:15:35 2003

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