git version 1.7.1
svn, version 1.6.12
Ubuntu 10.10
Mam tylko git i użyłem svn. Ale nie użyłem wtedy razem. Miałem repozytorium git, i musiałem więcej mojego repozytorium do jednego z subversion. Więc używam git-svn. Który działa dobrze, przez większość czasu. Jednak znajduję się w kółko.git-svn rebase i dcommit problem
Tylko ja pracuję nad tym projektem.
Wprowadzam pewne zmiany w moim oddziale. I następnie wystawić je:
git stage gateway.c
następnie zatwierdzić je lokalnie do git:
git commit m"Made some changes"
Następnie chcę popełnić ich do działalności wywrotowej. Pobierz najnowsze aktualizacje:
git svn rebase
Następnie pojawia się następujący komunikat:
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
Potem zrobić rebase ponownie:
git svn rebase
Komunikat jest taki:
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
Który stawia mnie na oddzwonił, a w kapelusz to ta gałąź i po co to jest ?:
*(no branch)
Następnie rozwiązuję konflikty w tym oddziale. Następnie kupię moją gałąź play_video. Próbuję zrobić następną:
svn git dcommit
I znów skończę w kółko.
Zanim zacznę ciągnięcie moich włosów, może niektóre oferują mi kilka rad,
Wielkie dzięki za wszelkie sugestie,
ten sam problem tutaj ... prawie 3 lata i nie sugestię ... – Quartz