From: Gregory Jefferis <jefferis@gmail.com>
To: <dherring@ll.mit.edu>, <git@vger.kernel.org>
Subject: Re: git-svn: how to connect SVN branches?
Date: Thu, 17 Jan 2008 23:42:53 +0000 [thread overview]
Message-ID: <C3B5987D.112BA%jefferis@gmail.com> (raw)
In-Reply-To: <alpine.LNX.0.999999.0801171237110.3479@mojave>
Re connecting the two svn histories, there are some similarities to a
situation that I had. See:
Statement of problem:
http://permalink.gmane.org/gmane.comp.version-control.git/69486
Eventual solution:
http://thread.gmane.org/gmane.comp.version-control.git/69486
Nicely formatted code snippet:
http://pastie.textmate.org/private/pv1n1nbmcmtxnxbq4zd7w
Best,
Greg.
On 17/1/08 20:17, "dherring@ll.mit.edu" <dherring@ll.mit.edu> wrote:
> Hi,
>
> The project I'm tracking changed servers a couple months ago. To simulate
> the svn-switch, I edited the svn-remote.url to the new location. `git-svn
> fetch`, `git-svn dcommit`, and the like seemed to work ok.
>
> When a new release branch came out, I tried adding
> svn-remote.branches = releases/*:refs/remotes/svn/*
>
> `git-svn fetch` pulled the new branch. However, it created a whole new
> history for this branch (new git commits from the beginning of the SVN
> repo).
>
> Is there some way to tell git/git-svn to connect these two histories?
>
> Pictorially, I have
>
> SVN1@a---SVN2@a---SVN3@b---SVN4@b---SVNtrunk
> SVN1@b---SVN2@b---SVN3@b---SVN4@b---SVNbranch
>
> and want
>
> SVN1@a---SVN2@a---SVN3@b---SVN4@b---SVNtrunk
> \--SVNbranch
>
> Similarly, if someone cloned a git repo full of git-svn-id's (which
> indicate that an svn --switch occurred) but without any matching git-svn
> data, is there a way to `git-svn fetch` from the new SVN repo and
> autoconnect the git commits?
>
> Thanks,
> Daniel
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-01-17 23:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 20:17 git-svn: how to connect SVN branches? dherring
2008-01-17 22:04 ` Sam Vilain
2008-01-18 14:43 ` dherring
2008-01-17 23:42 ` Gregory Jefferis [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=C3B5987D.112BA%jefferis@gmail.com \
--to=jefferis@gmail.com \
--cc=dherring@ll.mit.edu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.