From: Eric Wong <normalperson@yhbt.net>
To: Tjernlund <tjernlund@tjernlund.se>
Cc: git@vger.kernel.org
Subject: Re: git-svn set-tree
Date: Sun, 8 Jul 2007 22:45:53 -0700 [thread overview]
Message-ID: <20070709054541.GA2301@mayonaise> (raw)
In-Reply-To: <001501c7c02a$4bc130a0$0e67a8c0@Jocke>
Tjernlund <tjernlund@tjernlund.se> wrote:
> 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
next prev parent reply other threads:[~2007-07-09 5:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-07 0:03 git-svn set-tree Tjernlund
2007-07-09 5:45 ` Eric Wong [this message]
2007-07-10 22:45 ` Joakim Tjernlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070709054541.GA2301@mayonaise \
--to=normalperson@yhbt.net \
--cc=git@vger.kernel.org \
--cc=tjernlund@tjernlund.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).