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

Re: [PATCH] Re: "Revision" case-sensitive in svn:keywords

From: <kfogel_at_collab.net>
Date: 2005-02-08 22:50:40 CET

John Peacock <jpeacock@rowman.com> writes:
> I wish I could say I could do this (since keywords seem to be my
> obsession), but my son (4 1/2) has stopped going to bed easily. The
> amount of brainpower I have to deal with programming issues is vastly
> reduced these days, and I still have the keywords-as-hash patch to
> finish up.
>
> Anyone wanting to do this [bite-sized task] should look at the
> following section of code (from subversion/libsvn_wc/props.c:1108):
>
> if (kind == svn_node_file && strcmp (name, SVN_PROP_KEYWORDS) == 0)
> SVN_ERR (svn_wc__get_keywords (&old_keywords, path, adm_access, NULL,
> pool));
>
> and extend that if into a block which parses the value into tokens and
> then matches the tokens against the legal keyword values (found in
> subversion/include/svn_types.h starting at 216). See the above block
> dealing with SVN_PROP_EXECUTABLE for hints on rewriting the string.
>
> My personal preference would be to expand the tokens to be the LONG
> variants, stored in alphabetical order, but that's just me (and I'm
> taking medication to help these impulses, really I am ;)...

Oooh... want to file an issue with this thread, and in particular with
your mail? :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 8 23:04:33 2005

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.