Re: git svn problem
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