From: David Frech Date: Fri, 20 Jul 2007 06:54:30 GMT Subject: Re: Another question about importing SVN with fast-import Message-ID: <7154c5c60707192354k7db677a6m4f8cbd474747ca92@mail.gmail.com> In-Reply-To: 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 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. > -- If I have not seen farther, it is because I have stood in the footsteps of giants.