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

Re: svn copy --ignore-externals

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 01 Feb 2008 15:43:33 -0500

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 <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-02-01 21:43:45 CET

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