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

Re: Add -c option to merge

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-10-25 23:08:21 CEST

On Tue, 2005-10-25 at 16:23 -0400, Daniel Berlin wrote:
> > > + return svn_cmdline_handle_exit_error (err, pool, "svn: ");
> > > + }
> > > + opt_state.end_revision.value.number = strtol (opt_arg, &end, 10);
> > > + opt_state.end_revision.kind = svn_opt_revision_number;
(I see a tab here. Tabs must die!)
> > > + if (end == opt_arg || *end != '\0')
> > > + {
> > > + err = svn_error_create (SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
> > > + _("Non-numeric change argument given"));
> >
> > So the argument must be a number? You haven't explicitly mentioned that.
>
> Yes, how would we know what date - 1 is?

-c {DATE} would mean the same thing as -r X-1:X where X is what {DATE}
resolves to.

Admittedly, "show me or merge in the change I made most recently as of
foo time" is probably an edge case, but it does have a straightforward
meaning in my mind.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 25 23:18:42 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.