You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Res Pons <po...@hotmail.com> on 2006/10/19 18:26:20 UTC

SVN:Externals

Hi

I find svn:externals extremely difficult to use and comprehend especially 
when there're very few examples provided in the manual.  I have our SVN 
repository on a RHEL 4 Enterprise Linux box along with WinXP clients.  I 
browse to my working folder and do svn propget svn:externals '.' (dot for 
here)  and I get tons of errors.  I tried to set the externals a while back 
and now it has locked up the folders and SVN Clean Up won't work either.  
How can I find out where the externals are set and undo them?  Could someone 
help me please, many thanks.

Here's a list of errors:

1- svn: Explicit target required ('interact' interpreted as prop value)

2- svn: This client is too old to work with working copy 'pix'; please get a 
newer
Subversion client

_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with 
Live Search! 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN:Externals

Posted by Res Pons <po...@hotmail.com>.
Great, thank you for all your help and the thorough explanation, it makes 
more sense now.

----Original Message Follows----
From: Ryan Schmidt <su...@ryandesign.com>
To: Res Pons <po...@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: SVN:Externals
Date: Thu, 19 Oct 2006 18:07:03 -0500


On Oct 19, 2006, at 13:26, Res Pons wrote:

>I find svn:externals extremely difficult to use and comprehend  especially 
>when there're very few examples provided in the manual.   I have our SVN 
>repository on a RHEL 4 Enterprise Linux box along  with WinXP clients.  I 
>browse to my working folder and do svn  propget svn:externals '.' (dot for 
>here)  and I get tons of errors.

Such as?


>I tried to set the externals a while back and now it has locked up  the 
>folders and SVN Clean Up won't work either.  How can I find out  where the 
>externals are set and undo them?  Could someone help me  please, many 
>thanks.

You can recursively get all properties on all items in your working  copy:

cd working-copy
svn proplist -v -R . | less

Now search through that for occurrences of "svn:externals"


>Here's a list of errors:
>
>1- svn: Explicit target required ('interact' interpreted as prop  value)

You have executed an invalid command in attempting to set the  svn:externals 
property; therefore, no property was set. Show us the  command you attempted 
to execute and we'll show you what you need to  change.

I'll give you an example though. Suppose you have a working copy, and  it 
contains a directory "lib", and inside lib you want to pull in  various 
external libraries from elsewhere in your repository. Suppose  your 
repository root is at http://www.example.org/svn/ .

cd working-copy/lib
svn propedit svn:externals .

Note the dot (".") at the end to indicate that you want to set this  
property on the directory you're in right now. "svn propedit" will  bring up 
your preferred editor where you should enter one line per  external library 
that you want to bring in. Each line has two fields,  separated by a tab. 
The first field is the name of the directory that  you want to have created 
in your local working copy. After the tab,  the second field is the URL to 
the repository for the original item.  So if you have, say, 
vendor/prototype/1.4.0 and vendor/smarty/2.6.14  in your repository and want 
to bring these into your lib directory,  then the svn:externals property 
might read:

prototype	http://www.example.org/svn/vendor/prototype/1.4.0
smarty	http://www.example.org/svn/vendor/smarty/2.6.14


>2- svn: This client is too old to work with working copy 'pix';  please get 
>a newer
>Subversion client

That has nothing to do with any of your svn:externals troubles. You  have 
previously used a Subversion 1.4 client on this working copy,  and are now 
trying to use a pre-1.4 client with the working copy. Use  only Subversion 
1.4 clients with this working copy from now on.

_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with 
Live Search! 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN:Externals

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 19, 2006, at 13:26, Res Pons wrote:

> I find svn:externals extremely difficult to use and comprehend  
> especially when there're very few examples provided in the manual.   
> I have our SVN repository on a RHEL 4 Enterprise Linux box along  
> with WinXP clients.  I browse to my working folder and do svn  
> propget svn:externals '.' (dot for here)  and I get tons of errors.

Such as?


> I tried to set the externals a while back and now it has locked up  
> the folders and SVN Clean Up won't work either.  How can I find out  
> where the externals are set and undo them?  Could someone help me  
> please, many thanks.

You can recursively get all properties on all items in your working  
copy:

cd working-copy
svn proplist -v -R . | less

Now search through that for occurrences of "svn:externals"


> Here's a list of errors:
>
> 1- svn: Explicit target required ('interact' interpreted as prop  
> value)

You have executed an invalid command in attempting to set the  
svn:externals property; therefore, no property was set. Show us the  
command you attempted to execute and we'll show you what you need to  
change.

I'll give you an example though. Suppose you have a working copy, and  
it contains a directory "lib", and inside lib you want to pull in  
various external libraries from elsewhere in your repository. Suppose  
your repository root is at http://www.example.org/svn/ .

cd working-copy/lib
svn propedit svn:externals .

Note the dot (".") at the end to indicate that you want to set this  
property on the directory you're in right now. "svn propedit" will  
bring up your preferred editor where you should enter one line per  
external library that you want to bring in. Each line has two fields,  
separated by a tab. The first field is the name of the directory that  
you want to have created in your local working copy. After the tab,  
the second field is the URL to the repository for the original item.  
So if you have, say, vendor/prototype/1.4.0 and vendor/smarty/2.6.14  
in your repository and want to bring these into your lib directory,  
then the svn:externals property might read:

prototype	http://www.example.org/svn/vendor/prototype/1.4.0
smarty	http://www.example.org/svn/vendor/smarty/2.6.14


> 2- svn: This client is too old to work with working copy 'pix';  
> please get a newer
> Subversion client

That has nothing to do with any of your svn:externals troubles. You  
have previously used a Subversion 1.4 client on this working copy,  
and are now trying to use a pre-1.4 client with the working copy. Use  
only Subversion 1.4 clients with this working copy from now on.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN:Externals

Posted by Res Pons <po...@hotmail.com>.
Thank you Mark.  Your last option (via Tortoise) worked.  I did recently 
upgraded my Tortoise but my SVN Client is still 1.3.  Thanks for your help.

----Original Message Follows----
From: Mark Phippard <ma...@softlanding.com>
To: "Res Pons" <po...@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: SVN:Externals
Date: Thu, 19 Oct 2006 14:31:41 -0400

"Res Pons" <po...@hotmail.com> wrote on 10/19/2006 02:26:20 PM:

 > I find svn:externals extremely difficult to use and comprehend
especially
 > when there're very few examples provided in the manual.  I have our SVN
 > repository on a RHEL 4 Enterprise Linux box along with WinXP clients.  I

 > browse to my working folder and do svn propget svn:externals '.' (dot
for
 > here)  and I get tons of errors.  I tried to set the externals a while
back
 > and now it has locked up the folders and SVN Clean Up won't work either.

 > How can I find out where the externals are set and undo them?  Could
someone
 > help me please, many thanks.
 >
 > Here's a list of errors:
 >
 > 1- svn: Explicit target required ('interact' interpreted as prop value)
 >
 > 2- svn: This client is too old to work with working copy 'pix'; please
get a
 > newer
 > Subversion client

I do not think that this has anything specifically to do with
svn:externals.  It sounds like you are using TortoiseSVN 1.4 and an svn
1.3 command line client.  The 1.4 client updated the working copy to the
new format so you need to use all 1.4 clients to work with it.

In TortoiseSVN, you can just bring up the standard Windows properties
dialog and TortoiseSVN adds a Subversion page to the the dialog.

Mark

_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with 
Live Search! 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN:Externals

Posted by Mark Phippard <ma...@softlanding.com>.
"Res Pons" <po...@hotmail.com> wrote on 10/19/2006 02:26:20 PM:

> I find svn:externals extremely difficult to use and comprehend 
especially 
> when there're very few examples provided in the manual.  I have our SVN 
> repository on a RHEL 4 Enterprise Linux box along with WinXP clients.  I 

> browse to my working folder and do svn propget svn:externals '.' (dot 
for 
> here)  and I get tons of errors.  I tried to set the externals a while 
back 
> and now it has locked up the folders and SVN Clean Up won't work either. 
 
> How can I find out where the externals are set and undo them?  Could 
someone 
> help me please, many thanks.
> 
> Here's a list of errors:
> 
> 1- svn: Explicit target required ('interact' interpreted as prop value)
> 
> 2- svn: This client is too old to work with working copy 'pix'; please 
get a 
> newer
> Subversion client

I do not think that this has anything specifically to do with 
svn:externals.  It sounds like you are using TortoiseSVN 1.4 and an svn 
1.3 command line client.  The 1.4 client updated the working copy to the 
new format so you need to use all 1.4 clients to work with it.

In TortoiseSVN, you can just bring up the standard Windows properties 
dialog and TortoiseSVN adds a Subversion page to the the dialog.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org