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

Re: [PATCH] Ignore the fact that a file is versioned when -F is passed to a subcommand different then 'commit'

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-01-27 06:58:54 CET

On Sun, 2002-01-27 at 00:08, Lars Kellogg-Stedman wrote:
> In a situation where your syntax boils down to:
>
> command [ common_options ] subcommand [ subcommand_options ]

Well, we specifically didn't want to get into the situation CVS has
where an option can mean one thing before the subcommand thing and a
different thing after. For a given subcommand, all options mean the
same thing regardless of which position you put them in.

To keep things simple, we use the same option spec for all subcommands.
(If option specs differed noticeably between subcommands, we could get
into awkward situations trying to determine the subcommand name; is "svn
-a -b foo bar" the foo command with the -a and -b options, or the bar
command with the -a and "-b foo" options? Conceivably it could be
both.) Sometimes that might lead to issues like the confusing error
message, but any other satisfactory way would be rather complicated.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:00 2006

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.