--- Branko Cibej [mailto:brane@xbc.nu] wrote:
>4.1 Extend the format of the "-r" command-line option
>
>Currently the -r command-line option accepts a revision number or a
date
>(range):
>
> -r revnum|{date}[:revnum|{date}]
>
>The {date} specifier is internally converted to a revision number. We
add
>another specifier, [labelname], that is also converted to a revision
number.
>
>Note: Since label values are non-unique, a [label] specifier can refer
to a
>list of revision numbers. Such lists useless for "svn update" or "svn
export";
>however, "svn merge" could be extended to handle multi-revision merges
>(cherry-picking, right?). We should support an analogous format,
>"-r revnum,revnum,..." for specifying an explicit list of revision
numbers;
>this is also needed for defining multi-revision labels.
Actually, if you make the semantics of commands like "svn update"
something
like "-r max(revnum,revnum,...)" you get another feature for free:
promotion
levels. This is very handy for people with automated build servers,
which
can then label a successfully built revision as, say, "stable". A
developer
can then easily update to the latest good code rather than HEAD, which
could be broken:
$ svn up -r stable
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 24 02:56:52 2004