You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Dean Kopesky <De...@reuters.com> on 2008/01/31 20:27:33 UTC

svn copy --ignore-externals

Hi,
 
I believe the copy subcommand (and more generally, any subcommand that
fetches external items) should accept the --ignore-externals option.
 
If I copy from a repository URL into my workspace, sometimes I do not
want the externals fetched, just like I sometimes do not want them
fetched when checking out a URL directly.  (The exact use case involves
a release management system that assembles and commits release trees
from "blessed" revisions of specific dirs and files... long story, but I
can provide more details if you need them.)
 
We are currently running 1.4.0 here on a SunOS 5.8 system.  I have
checked the CHANGES file for versions 1.4.1 - 1.4.6, and it does not
look like this has been addressed so far.
 
Is this a bug or a feature?  If you concur that svn copy
--ignore-externals is meaningful, I will file an issue in Issue Tracker.
 
Thanks much.
 
-Dean
 
 
Dean Kopesky
Software Engineer


Reuters Messaging: dean.kopesky.reuters.com@reuters.net
(t) +1 651 846 2141 | (f) +1 651 846 2050 

Get the latest news at Reuters.com <http://www.reuters.com/> 

 


This email was sent to you by Reuters, the global news and information company. 
To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, 
except where the sender specifically states them to be the views of Reuters Limited.

Reuters Limited is part of the Reuters Group of companies, of which Reuters Group PLC is the ultimate parent company.
Reuters Group PLC - Registered office address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, United Kingdom
Registered No: 3296375
Registered in England and Wales


RE: svn copy --ignore-externals

Posted by Dean Kopesky <De...@reuters.com>.
Actually, s/sometimes/always/ in my original e-mail:  I can't think of
any cases where I would want "svn copy REPOS-URL WC-PATH" to fetch
externals.  (However, backward-compatibility considerations might
require addition of --ignore-externals to the copy subcommand, rather
than changing that subcommand's default behavior... but I have no strong
feelings about that one way or the other.)  -Dean

> -----Original Message-----
> From: C. Michael Pilato [mailto:cmpilato@collab.net] 
> Sent: Friday, February 01, 2008 2:44 PM
> To: Dean Kopesky
> Cc: dev@subversion.tigris.org
> Subject: Re: svn copy --ignore-externals
> 
> Dean Kopesky wrote:
> > I believe the copy subcommand (and more generally, any 
> subcommand that 
> > fetches external items) should accept the --ignore-externals option.
> >  
> > If I copy from a repository URL into my workspace, 
> sometimes I do not 
> > want the externals fetched, just like I sometimes do not want them 
> > fetched when checking out a URL directly.  (The exact use 
> case involves 
> > a release management system that assembles and commits 
> release trees 
> > from "blessed" revisions of specific dirs and files... long 
> story, but I 
> > can provide more details if you need them.)
> 
> Actually, I'm wondering why 'svn copy' doesn't just *always* ignore 
> externals.  'svn copy REPOS-URL WC-PATH' is ultimately a scheduling 
> operation, and no other scheduling operation fleshes out 
> externals.  So I'd 
> suggest that 'svn copy' *never* flesh out externals, and if 
> folks want them, 
> they do 'svn copy REPOS-URL WC-PATH && svn update WC-PATH'.
> 
> Is there a meaningful use-case for the behavior we see today?

This email was sent to you by Reuters, the global news and information company. 
To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, 
except where the sender specifically states them to be the views of Reuters Limited.

Reuters Limited is part of the Reuters Group of companies, of which Reuters Group PLC is the ultimate parent company.
Reuters Group PLC - Registered office address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, United Kingdom
Registered No: 3296375
Registered in England and Wales



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


Re: svn copy --ignore-externals

Posted by "C. Michael Pilato" <cm...@collab.net>.
Dean Kopesky wrote:
> Hi,
>  
> I believe the copy subcommand (and more generally, any subcommand that 
> fetches external items) should accept the --ignore-externals option.
>  
> If I copy from a repository URL into my workspace, sometimes I do not 
> want the externals fetched, just like I sometimes do not want them 
> fetched when checking out a URL directly.  (The exact use case involves 
> a release management system that assembles and commits release trees 
> from "blessed" revisions of specific dirs and files... long story, but I 
> can provide more details if you need them.)

Actually, I'm wondering why 'svn copy' doesn't just *always* ignore 
externals.  'svn copy REPOS-URL WC-PATH' is ultimately a scheduling 
operation, and no other scheduling operation fleshes out externals.  So I'd 
suggest that 'svn copy' *never* flesh out externals, and if folks want them, 
they do 'svn copy REPOS-URL WC-PATH && svn update WC-PATH'.

Is there a meaningful use-case for the behavior we see today?

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand