git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Vilain <sam@vilain.net>
To: Serhat Sevki Dincer <jfcgauss@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git svn problem
Date: Fri, 10 Feb 2012 13:21:23 -0800	[thread overview]
Message-ID: <4F358A53.8010409@vilain.net> (raw)
In-Reply-To: <CAPqC6xRtZXwv+U6AKRUXDz=m-G4AjgWksbwqeMD_qzS8YC=DoQ@mail.gmail.com>

On 2/10/12 10:15 AM, Serhat Sevki Dincer wrote:
> Hi,
>
> I am using git-svn (1.7.4.1-3 on ubuntu) to get a project. It has two
> svn repositories, apparently disjoint. First half is at
> http://svn.plone.org/svn/plone/plone.app.locales, and the continuation
> at http://svn.plone.org/svn/collective/plone.app.locales
> How can i get a nice linear git-svn repository? the second one is the
> new location of the project. I am only interested in the trunks btw.

Import them separately to different git-svn remotes, and once they are 
in the same repository you can graft them together using 
.git/info/grafts (see man gitrepository-layout).  Once it looks right 
(check using 'gitk' etc), make it permanent using git filter-branch. 
You'll also want to remove the .git/svn directory, and re–run 'git svn 
fetch' so that git svn's revision database is recomputed.  Don't forget 
the -A option to 'git svn fetch'!

Good luck,
Sam

  reply	other threads:[~2012-02-10 21:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10 18:15 git svn problem Serhat Sevki Dincer
2012-02-10 21:21 ` Sam Vilain [this message]
2012-02-11  0:52   ` Serhat Sevki Dincer
2012-02-11 10:19     ` Serhat Sevki Dincer
  -- strict thread matches above, loose matches on Subject: below --
2010-07-15 11:00 Luis Gutierrez
2010-01-13 17:20 Julien POTIRON

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=4F358A53.8010409@vilain.net \
    --to=sam@vilain.net \
    --cc=git@vger.kernel.org \
    --cc=jfcgauss@gmail.com \
    /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).