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

Re: enhancement for svn:keywords add Revision as abbrev as well as Rev

From: Robert Pluim <rpluim_at_bigfoot.com>
Date: 2003-06-20 12:01:13 CEST

plasma writes:
> Index: subversion/libsvn_subr/subst.c
> ===================================================================
> --- subversion/libsvn_subr/subst.c (revision 816)
> +++ subversion/libsvn_subr/subst.c (working copy)
> @@ -131,6 +131,7 @@
> const char *keyword = APR_ARRAY_IDX (keyword_tokens, i, const char *);
>
> if ((! strcmp (keyword, SVN_KEYWORD_REVISION_LONG))
> + || (! strcasecmp (keyword, SVN_KEYWORD_REVISION_MEDIUM))
> || (! strcasecmp (keyword, SVN_KEYWORD_REVISION_SHORT)))

Hmm, this has me wondering why the _LONG versions are all compared
using strcmp, and the _SHORT ones all use strcasecmp in the existing
code. Is this a CVS hangover?

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 20 11:56:48 2003

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.