Re: Another question about importing SVN with fast-import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Jul 2007, David Frech wrote:

On 7/19/07, Julian Phillips <julian@xxxxxxxxxxxxxxxxx> 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!
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux