From: Julian Phillips Date: Fri, 20 Jul 2007 07:01:01 GMT Subject: Re: Another question about importing SVN with fast-import Message-ID: In-Reply-To: <7154c5c60707192354k7db677a6m4f8cbd474747ca92@mail.gmail.com> On Thu, 19 Jul 2007, David Frech wrote: > On 7/19/07, Julian Phillips wrote: >> On Fri, 20 Jul 2007, Shawn O. Pearce wrote: >> >> > It is possible. I'm just not sure what the syntax for it should be. >> > Suggestions? I really want to stay backwards compatible with the >> > current "C" command, so: >> > >> > 'C' SP commit SP path SP path >> > >> > is out because its ambiguous with the current meaning where the >> > second (destination) path can contain SP without being quoted by >> > the frontend. >> >> You could always make it part of the 'M' command? >> >> 'M' sp mode sp 'copy' sp path_str lf (ref_str | hexsha1 | sha1exp_str | >> idnum) SP path_str; >> >> Or just make it a new command, O (for other) or E (for existing) maybe? :S > > Since we'll be referring to past commits via marks (with start with > ":") how about this: > > 'C' SP srcpath:mark SP dstpath Why only via marks? That may be what you happen to want, but no other command restricts you to _only_ using marks ... > > In the case of making it a new command I can't think of any really > compelling one letter names. ;-) > > - David > >> >> -- >> Julian >> >> --- >> It is easier to change the specification to fit the program than vice >> versa. >> > > -- Julian --- What say you, Mr. American Ambassador? Fuck Canada!