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

Re: [ANNOUNCE] git-as-svn: subversion frontend server for git repository

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 9, 2014, 19:30 UTC
Message-ID
<xmqqiokwk2wg.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140909185711.GA14554@seldon>
Marat Radchenko <marat@slonopotamus.org> writes:
Show 9 quoted lines
>> >   * You must not do 'inverted merges'. Old HEAD must be reachable from
>> >     new HEAD by first-parent traversal.
>> 
>> I am not sure what you mean by this to properly assess how
>> significant this limitation is.  Care to draw a simple picture?
>
> SVN doesn't support nonlinear history (except merge-info crutch).
> ...
> And now the *bad* case. You have the same initial history but do *inverted merge*:

That is a bad way to answer a question that asks "what do you mean by an 'inverted merge', which is not in our normal lexicon?" ;-)

	You must not merge the current tip of SVN server *into* the
	work you did on top of a past state you obtained from the
	SVN server.  Check out the current state from the SVN side,
	and merge your work into it instead.

or something like that is what people would understand without introducing a new/unused word to the world. And

Show 6 quoted lines
> A -- D -- E -- F -- G'
>  \                 /
>   B -- C ---------/
>        ^
>        |
>     Previous branch tip

this illustrates the topology you meant reasonably well, especially if you marked D, E and F as "your own work" (as opposed to what the server side did in the meantime while you worked, i.e. B and C).

Thanks for a clarification.
Previous: Marat Radchenko
Message 4 of 4 in “[ANNOUNCE] git-as-svn: subversion frontend server for git repository”
  1. Marat RadchenkoSep 9, 2014
  2. Junio C HamanoSep 9, 2014
  3. Marat RadchenkoSep 9, 2014
  4. Junio C HamanoSep 9, 2014

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.