From: Thomas Ferris Nicolaisen <tfnico@gmail.com>
To: ryanzec <basire@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: What Features Do I loose With git-svn?
Date: Sun, 1 May 2011 01:08:36 +0200 [thread overview]
Message-ID: <BANLkTinEgDSFsOj2uY-2WdridoD1ZhQQKw@mail.gmail.com> (raw)
In-Reply-To: <1304096029355-6317576.post@n2.nabble.com>
On Fri, Apr 29, 2011 at 6:53 PM, ryanzec <basire@gmail.com> wrote:
> I want to use git for a project I am working on however because the project
> is going to possibility have a lot of binary content in size and number of
> files (game project), it is probably going to be hard to convince my team to
> make the switch since I have no real solution besides just use git for the
> code and svn for the binary data. I am hoping git-svn will do the trick for
> me. The question is are they any features I loose (like cherry picking) or
> anything that I have to look out for (does updating from svn cause merging
> issues just like working all in SVN does).
Subversion does not grok the semantics of a merge. That means that if
you merge in a branch and do an svn dcommit, the svn log will only
contain the commit message of the merge-commit, and have no trace of
the commits that took place out in the branch.
The tidiest way around this is generally to keep history linear, and
avoid merging by doing rebasing instead.
Have a look at the screencast here, it should explain it pretty well:
http://blog.tfnico.com/2010/10/gitsvn-4-collaborate-with-other-git.html
You can still cherry pick. Actually, cherry-picking has served me very
well for doing traditional SVN "merges" (copying a commit from one
branch to the other, instead of that clunky svn merge -c R url .
stuff).
prev parent reply other threads:[~2011-04-30 23:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 16:53 What Features Do I loose With git-svn? ryanzec
2011-04-29 17:16 ` Motiejus Jakštys
2011-04-30 23:08 ` Thomas Ferris Nicolaisen [this message]
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=BANLkTinEgDSFsOj2uY-2WdridoD1ZhQQKw@mail.gmail.com \
--to=tfnico@gmail.com \
--cc=basire@gmail.com \
--cc=git@vger.kernel.org \
/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).