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

Re: svn up --ignore-keywords. When?

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 4 Feb 2013 19:18:08 +0100

On Mon, Feb 04, 2013 at 09:47:07PM +0400, Ilya Basin wrote:
> Hi list.
> The option '--ignore-keywords' only works with 'svn export'.
> Will it ever be added to 'svn up' and be sticky like the 'cvs up -kk'?

I'm not aware of any plans to add this option to more subcommands.

Commands line checkout and update would indeed need to keep track of the
fact that keyword expansion is disabled. A non-sticky switch wouldn't
really make much sense for those commands since the next update/commit
would expand keywords again by default. So implementing --ignore-keywords
support for those subcommands is much more involved than it was for
'svn export' (an export is a one-off operation so no state needs to
be preserved between export operations).

Why do you want this feature? What is your use case?

I don't think it would be unreasonable to have a feature like this.
However it would need to be designed and implemented by someone.
So I would guess it's still more a question of "if", not "when"...

Some design questions come to mind immediately, such as whether this
new switch would apply per client config, or per working copy, or per
path in the working copy. How would the user allow keyword expansion
again? What is the real advantage over simply removing the svn:keywords
property?
Received on 2013-02-04 19:18:52 CET

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.