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

Re: Stitching together private svn repo and public git repo

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 3, 2008, 17:24 UTC
Message-ID
<7vd4sistyo.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<C3A2A4FD.1089D%jefferis@gmail.com>
I suspect your message was linewrapped by your MUA and ...
Gregory Jefferis <jefferis@gmail.com> writes:
Show 20 quoted lines
> ...
> # set up the grafts
> cat > .git/info/grafts <<EOF
> # connect r2 of git-svn to v1.86 of nm-ucl
> # r1 (which was an identical initial import) will now be detached (and
> forgotten)
> 52b1933421ef524811407fa4c240da58ceec5749
> eca3db14fcf25744fdf585456f03599a9db2af96
> #
> # Make fake merge with Neuromatic v1.91b
> # svn-manualmerge1 svn-manualmerge1~1 public-v1.91b
> 120282ee5275027312dde386c8995218f361cf35
> 0962cb27f7ad92f44def04630e8e6a22b86e0699
> 6735057f53dd57248c7ec23f6ae9f22085d98fba
> EOF
>
> # running git-status seems to stop git thinking that the working dir is
> dirty
> git-status
> ...

... your grafts file look as if you are marking five commits as root commits, which is not what you wanted ;-).

The reason I mention this is because I think with a bit more polishing and some background description your message is a good material to add to Documentation/howto/.

Previous: Gregory Jefferis
Message 6 of 6 in “Stitching together private svn repo and public git repo”
  1. Gregory JefferisJan 2, 2008
  2. Charles BaileyJan 2, 2008
  3. Dmitry PotapovJan 2, 2008
  4. Charles BaileyJan 2, 2008
  5. Gregory JefferisJan 3, 2008
  6. Junio C HamanoJan 3, 2008

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.