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

Re: Simple Label=RevisionID Discussion

From: Nikki Locke <info_at_trumphurst.com>
Date: 2006-11-22 12:24:52 CET

Robert Graf-Waczenski wrote:
> > ok, let's flesh out the details...
> >
> > 1. Label syntax: what are the allowed set of characters in a label?
> > Bear in mind that they need to be injected back into command-lines,
> > so there are some restrictions if they are going to be parsed
> > unambiguously.
>
> Even though i think that US-ASCII would be sufficient for my purposes,
> i don't see why full UTF-8 should cause problems even if it would be
> used in the command line. If commit messages are restricted to less
> than UTF-8 for this particular reason, then i'm fine with that.

As the label is going to be used in the command line in place of a revision
number, presumably it cannot contain characters that are significant in shell
or svn command line parsing, including colon, brace ({) and space, and
probably it should not start with "-" (or, perhaps, any digit).

-- 
Nikki Locke, Trumphurst Ltd.      PC & Unix consultancy & programming
http://www.trumphurst.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 22 12:25:12 2006

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