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

Re: git-svn set-tree

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 9, 2007, 05:45 UTC
Message-ID
<20070709054541.GA2301@mayonaise>
In-Reply-To
<001501c7c02a$4bc130a0$0e67a8c0@Jocke>
Tjernlund <tjernlund@tjernlund.se> wrote:
Show 9 quoted lines
> I have noticed that if I do a git-svn set-tree, remotes/git-svn
> retains the parent from the branch where set-tree was performed.
> 
> If a coworker wants recreate my tree by using git-svn init && git-svn
> fetch he looses the parent I have in my tree.
> 
> I wonder if not git-svn set-tree can record the parent information in
> the svn repos log, so that git-svn init/fetch can recreate the parent
> relationship?

We could at yet another non-standardized property into SVN to handle merges. Currently there are at least two properties used in the SVN/SVK world to represent merges (Sam Vilain can give you the fun details of each one!).

I'm afraid adding a third incompatible yet similair property for git-svn would just confuse people.

I've become very much against crazy stuff like set-tree which ends up creating a M:N history mapping between git and svn. 1:1 is the simplest and easiest. I'm more than willing to sacrifice multi-parent histories in git for easier compatibility with other systems.

Heck, linear history is just easier to deal with and probably preferable in most/many cases. I'm sure that the rising popularity of git-rebase, quilt, stgit, guilt, mq and other like tools is a testament to that.

-- 
Eric Wong
Previous: TjernlundNext: Joakim Tjernlund
Message 2 of 3 in “git-svn set-tree”
  1. TjernlundJul 7, 2007
  2. Eric WongJul 9, 2007
  3. Joakim TjernlundJul 10, 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.