git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Another question about importing SVN with fast-import

From
DFDavid Frech <david@nimblemachines.com>
Date
Jul 20, 2007, 06:54 UTC
Message-ID
<7154c5c60707192354k7db677a6m4f8cbd474747ca92@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0707200646400.18125@beast.quantumfyre.co.uk>
On 7/19/07, Julian Phillips <julian@quantumfyre.co.uk> wrote:
Show 18 quoted lines
> 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
Show 7 quoted lines
>
> --
> 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.
Previous: Julian PhillipsNext: Julian Phillips
Message 8 of 11 in “Another question about importing SVN with fast-import”
  1. Julian PhillipsJul 16, 2007
  2. Shawn O. PearceJul 17, 2007
  3. Julian PhillipsAug 6, 2007
  4. Shawn O. PearceAug 7, 2007
  5. David FrechJul 19, 2007
  6. Shawn O. PearceJul 20, 2007
  7. Julian PhillipsJul 20, 2007
  8. David FrechJul 20, 2007
  9. Julian PhillipsJul 20, 2007
  10. David FrechJul 20, 2007
  11. Jan HudecJul 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.