Karl Fogel <kfogel_at_red-bean.com> wrote on 06/30/2008 02:57:43 PM:
> 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.
Problem is, you can't do that the *first* time, right after you have
set the property, since the external-subdir does not yet exist, and
doing an "svn update dir/external-subdir" doesn't give any errors, but
doesn't do anything either...
Kevin R.
---------------------------------------------------------------------
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 22:14:54 CEST