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

Re: svn update --only-externals?

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Mon, 30 Jun 2008 15:57:43 -0400

kmradke_at_rockwellcollins.com writes:
> The current "svn update" command allows for a --ignore-externals
> parameter, but has
> anyone else wanted/needed a --only-externals parameter?
>
> We have some scripts to add a new svn:externals property to a working copy
> directory,
> and we then wanted to updated JUST the external, nothing else in the
> working copy.
>
> It appears you must update the parent directory containing the externals
> definition before you can then update it directly. However, doing this
> will update everything else in that directory.
>
> So far I haven't come up with a solution other than to completely
> reorganize
> the directory structure and place all of our "automated" svn:externals
> into
> a separate directory tree which we can update at any time without updating
> the user's other files.
>
> Thoughts?

Well, I think the reason there's never been a --only-externals option is
that you can always just update an external directly. That is:

   cd external-subdir
   svn up

That won't affect the parent dir.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-30 21:58:47 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.