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

Re: Feature wish/request: [--externals MODE] switch on update

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 05 May 2011 13:41:44 +0100

Hi Roman.

Branko Čibej wrote:
> You can already pin an external to a particular version by adding a -r
> parameter to the definition in svn:externals.
>
> -- Brane
>
> On 05.05.2011 09:42, muzungu_at_gmx.net wrote:
> > 1. Feature update [--externals MODE] switch:
> >
> > The update command shall be extended by the following switch and modes:
> >
> > update [-r rev] [-N] [--externals MODE]
> >
> > MODE: ignore:
> > same as [--ignore-externals] which shall be deprecated but remain for
> > backward compatibility
> >
> > MODE: interactive-revisioned:
> > externals set to a fixed revision will not automatically updated to the
> > HEAD or the command line revision -r rev but asks per external entry: [yes]
> > [no] [yes to all],[no to all]
> >
> > MODE: ignore-revisioned:
> > externals set to a fixed revision will not get updated. Only externals
> > working on the head (no &ndash;rNNNN entry) will be updated to the HEAD or
> > the command line revision &ndash;r rev
> >
> > MODE: to-revision:
> > updates externals to the fixed revision stated in the svn:exterals
> > property, all others to the HEAD or the command line revison -r rev
> >
> > MODE: interactive-to-revision:
> > updates externals to the fixed revision stated in the svn:exterals
> > property, all others to the HEAD or the command line revison -r rev, but
> > asks per external entry: [yes] [no] [yes to all],[no to all]
[...]
> > Motivation/Use-case:
> > We want use the svn:externals to retrieve common resources in defined
> > versions/revisions into various project. That the resources for the
> > particular project keep their revision is very important. They may not
> > change by accident. An "standard" update has easily and unwillingly
> > happened, as also other user report in the net. If one is lucky the
> > compilation fails and one has a indication that sonething is wrong. In the
> > worst case everything compiles and works fine, but for a rarely used
> > functionality under very unlikely conditions.
> > We would like to have update modes that not simple automatically update
> > everything to the HEAD or -r rev, but can distingush between "internals",
> > externals and revisioned exterals and issue a waring (interactive)

What exactly is wrong with the standard "update" command in your use
cases? Are you saying the standard update command ignores the "-r"
setting in the externals definitions? In what commands, exactly, and
what version of svn?

- Julian

> > I assume that this is not a server but a pure client feature(?).
Received on 2011-05-05 14:42:21 CEST

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

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