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

Re: git svn problem

From
Sam Vilain <sam@vilain.net>
Date
Feb 10, 2012, 21:21 UTC
Message-ID
<4F358A53.8010409@vilain.net>
In-Reply-To
<CAPqC6xRtZXwv+U6AKRUXDz=m-G4AjgWksbwqeMD_qzS8YC=DoQ@mail.gmail.com>
On 2/10/12 10:15 AM, Serhat Sevki Dincer wrote:
Show 8 quoted lines
> 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

Previous: Serhat Sevki DincerNext: Serhat Sevki Dincer
Message 2 of 4 in “git svn problem”
  1. Serhat Sevki DincerFeb 10, 2012
  2. Sam VilainFeb 10, 2012
  3. Serhat Sevki DincerFeb 11, 2012
  4. Serhat Sevki DincerFeb 11, 2012

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.