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

Re: svn -D syntax

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-10-17 19:37:28 CEST

On Thu, 2002-10-17 at 12:28, Karl Fogel wrote:
> However, +0 on a bracket- or brace-based solution too.

Three people seemed to support this idea, so I implemented it and
checked it in. I couldn't figure out how to document it, though; as far
as I can tell, -D was totally undocumented except for the help output,
and now even that is gone. Maybe one of the nice handbook authors can
document the new -r {date} syntax, since end-user documentation is not
my strong point.

I used braces, but converting to brackets would be a two-line change if
people prefer that.

> (Do any shells require "{" and "}" to be
> escaped? They seem to work fine for me. Actually, "[" seems fine too
> when not in the command position, so perhaps it's not a problem...)

We should still recommend that people quote braces. csh will convert
{foo} to foo. bash will convert {foo,bar} to the words "foo" and "bar",
although just {foo} is left alone. A real bourne shell will leave
braces entirely alone.

[foo] gets left alone by sh-based shells if it doesn't match anything.
foo*bar or ? will also get left alone if they don't match anything. csh
will barf on such things.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 19:45:07 2002

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.