git-svn rebase and dcommit problem

git version 1.7.1
svn, version 1.6.12
Ubuntu 10.10

Я использовал только git и svn. Но я тогда не использовала вместе. У меня был репозиторий git, и мне пришлось превратить свой репозиторий в подрывной. Итак, я использовал git-svn. Что работает нормально, большую часть времени. Тем не менее, я ходил по кругу.

Я единственный, кто работал над этим проектом.

Я вношу некоторые изменения в свою ветку. Затем я обрабатываю их:

git stage gateway.c

Затем фиксирую их локально в git:

git commit m"Made some changes"

Затем я хочу зафиксировать их для subversion. Получите последние обновления:

git svn rebase

Затем я получаю следующее сообщение:

It seems that I cannot create a rebase-apply directory, and
I wonder if you are in the middle of patch application or another
rebase.  If that is not the case, please
        rm -fr /home/joe/projects/gateway/.git/rebase-apply
and run me again.  I am stopping in case you still have something
valuable there.
rebase refs/remotes/trunk: command returned error: 1

I then doing the following:
rm -fr /home/joe/projects/gateway/.git/rebase-apply

Затем я снова выполняю перебазирование:

git svn rebase

Сообщение следующее:

First, rewinding head to replay your work on top of it...
Applying: Issue with getting the port from the user context.
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging driver.c
Auto-merging gateway.c
CONFLICT (content): Merge conflict in gateway.c
Failed to merge in the changes.
Patch failed at 0001 Issue with getting the port from the user context.

When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".

rebase refs/remotes/trunk: command returned error: 1

Что помещает меня в ветку с именем, и что это за ветка и для чего это?:

*(no branch)

Затем я разрешаю конфликты с этой веткой. Затем я проверяю свою ветку play_video. Я пытаюсь сделать еще одно:

svn git dcommit

И в конечном итоге я снова иду по кругу.

Прежде чем я начну выдергивать волосы, могут ли некоторые мне дать совет,

Большое спасибо за любые предложения,

8
задан ant2009 14 December 2010 в 06:16
поделиться