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

Re: git svn problem

From
SDSerhat Sevki Dincer <jfcgauss@gmail.com>
Date
Feb 11, 2012, 00:52 UTC
Message-ID
<CAPqC6xSJ7pfUQJz8FQ743mJMNmZyfJfWxutOnt+FVkP76eXOGw@mail.gmail.com>
In-Reply-To
<4F358A53.8010409@vilain.net>
On Fri, Feb 10, 2012 at 11:21 PM, Sam Vilain <sam@vilain.net> wrote:
Show 6 quoted lines
> 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'!

That sounds too complicated. There should be an easier way (i hope:) I have the following at the moment:

rm -rf plone.app.locales ; mkdir plone.app.locales ; cd plone.app.locales git svn init -T trunk http://svn.plone.org/svn/plone/plone.app.locales touch start ; git add start ; git commit -m start git svn fetch -r49624:HEAD git rebase --onto master --root trunk --preserve-merges git checkout -b plone

plone branch looks good, now I would like to do the same with collective/plone.app.locales. I tried a couple of things but ended up getting errors like:

Rebuilding .git/svn/refs/remotes/trunk/.rev_map.db7f04ef-aaf3-0310-a811-c281ed44c4ad ... Done rebuilding .git/svn/refs/remotes/trunk/.rev_map.db7f04ef-aaf3-0310-a811-c281ed44c4ad RA layer request failed: REPORT of '/svn/collective/!svn/vcc/default': Could not read chunk size: connection was closed by server (http://svn.plone.org) at /usr/lib/git-core/git-svn line 5131

Is there some way around these errors?

Thanks.. Serhat

Previous: Sam VilainNext: Serhat Sevki Dincer
Message 3 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.