Error when updating local git repo
Hi Wolfgang,
I'm working with a local U-Boot repository that periodically is updated with your public one. I encountered the following error when trying to update it:
[llandre at linuxserver u-boot-denx-dave]$ cg-update Recovering from a previously interrupted fetch...
WARNING: The rsync access method is DEPRECATED and will be REMOVED in the future!
Fetching head...
receiving file list ... done .git/refs/heads/.origin-fetching
sent 94 bytes received 144 bytes 158.67 bytes/sec total size is 41 speedup is 0.17
Fetching objects...
receiving file list ... done
sent 79 bytes received 47423 bytes 13572.00 bytes/sec total size is 23238354 speedup is 489.21 Fetching tags...
receiving file list ... done
sent 81 bytes received 1797 bytes 1252.00 bytes/sec total size is 5002 speedup is 2.66
Applying changes...
Merging 0a69b26ed6fe3184cab86872589c27b076e6cb8e -> e6b6d16de73de6a76e2ec4338291e828b860f040
to 50ecf0766fb61883a94c4e703990cb3b5bc1bec1...
... Auto-merging CHANGELOG
merge: warning: conflicts during merge
... Auto-merging MAINTAINERS
... Auto-merging MAKEALL
... Auto-merging Makefile
... Auto-merging board/amcc/bamboo/bamboo.c
MERGE ERROR: File board/amcc/luan/u-boot.lds added in both branches, but different in each!
MERGE ERROR: Conflicting versions saved as 'board/amcc/luan/u-boot.lds~master' and 'board/amcc/luan/u-boot.lds~origin'. ... Auto-merging board/amcc/yellowstone/yellowstone.c
... Auto-merging board/amcc/yosemite/yosemite.c
MERGE ERROR: File board/esd/cms700/u-boot.lds removed in one branch but modified in the other!
MERGE ERROR: The original version saved as 'board/esd/cms700/u-boot.lds~merge~base', the modified one as 'board/esd/cms700/u-boot.lds~origin'.
MERGE ERROR: File board/prodrive/p3p440/u-boot.lds removed in one branch but modified in the other!
MERGE ERROR: The original version saved as 'board/prodrive/p3p440/u-boot.lds~merge~base', the modified one as 'board/prodrive/p3p440/u-boot.lds~origin'.
... Auto-merging board/tqm834x/pci.c
MERGE ERROR: File board/tqm85xx/u-boot.lds added in both branches, but different in each!
MERGE ERROR: Conflicting versions saved as 'board/tqm85xx/u-boot.lds~master' and 'board/tqm85xx/u-boot.lds~origin'. ... Auto-merging cpu/ppc4xx/405gp_pci.c
merge: warning: conflicts during merge
... Auto-merging cpu/ppc4xx/cpu.c
merge: warning: conflicts during merge
... Auto-merging cpu/ppc4xx/spd_sdram.c
... Auto-merging cpu/ppc4xx/start.S
... Auto-merging include/configs/TQM5200.h
... Auto-merging include/configs/TQM834x.h
... Auto-merging include/configs/bamboo.h
... Auto-merging include/configs/o2dnt.h
... Auto-merging include/ppc440.h
Conflicts during merge. Do cg-commit after resolving them. cg-reset will cancel the merge.
What the following error messages mean?
MERGE ERROR: File board/amcc/luan/u-boot.lds added in both branches, but different in each!
MERGE ERROR: Conflicting versions saved as 'board/amcc/luan/u-boot.lds~master' and 'board/amcc/luan/u-boot.lds~origin'.
MERGE ERROR: File board/esd/cms700/u-boot.lds removed in one branch but modified in the other!
MERGE ERROR: The original version saved as 'board/esd/cms700/u-boot.lds~merge~base', the modified one as 'board/esd/cms700/u-boot.lds~origin'.
Best regards,
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it email: r&d2 at dave-tech.it
Quoted 10 lines · In message <[email protected]> you wrote:
I'm working with a local U-Boot repository that periodically is updated with your public one. I encountered the following error when trying to update it:
[llandre at linuxserver u-boot-denx-dave]$ cg-update Recovering from a previously interrupted fetch...
WARNING: The rsync access method is DEPRECATED and will be REMOVED in the future!
You may want to pay heed to this warning...
Quoted 4 lines
What the following error messages mean?
MERGE ERROR: File
board/amcc/luan/u-boot.ldsadded in both branches, but different in each!
The file board/amcc/luan/u-boot.lds was added in both branches which you are trying to merge, but the versions in both branches are different. You will have to decide which one to use or what else to do.
Quoted 2 lines
MERGE ERROR: File
board/esd/cms700/u-boot.ldsremoved in one branch but modified in the other!
The file board/esd/cms700/u-boot.lds was removed in one branch but modified in the other one. You will have to decide if it is to be removed or if the modified version should be used or what else to do.
Ummm.. to me the error messages are pretty clear. What exactly is it what you don't understand?
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Space is big. You just won't believe how vastly, hugely, mind-
bogglingly big it is. I mean, you may think it's a long way down the
road to the drug store, but that's just peanuts to space.
-- The Hitchhiker's Guide to the GalaxyHi,
Quoted 5 lines
Quoted 2 lines
WARNING: The rsync access method is DEPRECATED and will be REMOVED in the future!
You may want to pay heed to this warning...
ok. I followed the example here:
http://source.denx.net/cgi-bin/gitweb.cgi. Do you suggest to use http instead?
Quoted 2 lines
Quoted 2 lines
What the following error messages mean?
...
Quoted 6 lines
Ummm.. to me the error messages are pretty clear. What exactly is it what you don't understand?
I have two local repos. One is just a clone of your public repo (u-boot-denx). The other one (u-boot-denx-dave) exhibits the problem I reported in the previous mail. The thing that looks weird to me is that the first repo (u-boot-denx) does not exhibit it. On the other hand, I'm pretty sure that in u-boot-denx-dave I did not touch those files.
Signature · 5 lines
llandre DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2 at dave-tech.it
Quoted 4 lines · In message <[email protected]> you wrote:
ok. I followed the example here:
http://source.denx.net/cgi-bin/gitweb.cgi. Do you suggest to use http instead?
This is the official recommendation. I have to admit that I usually use rsync myself, especially for the initial cloning, as it's much faster.
Quoted 2 lines
I have two local repos. One is just a clone of your public repo (u-boot-denx). The other one (u-boot-denx-dave) exhibits the problem I
How exactly did you create this second repo, and what exactly did you try when attempting to merge?
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The combination of a number of things to make existence worthwhile." "Yes, the philosophy of 'none,' meaning 'all.'" -- Spock and Lincoln, "The Savage Curtain", stardate 5906.4
Hi,
Quoted 7 lines
Quoted 2 lines
http://source.denx.net/cgi-bin/gitweb.cgi. Do you suggest to use http instead?
This is the official recommendation. I have to admit that I usually use rsync myself, especially for the initial cloning, as it's much faster.
To switch the protocol I have to change .git/branches/origin from rsync://source.denx.net/git/u-boot.git
to
http://source.denx.net/git/u-boot.git
right?
Quoted 6 lines
Quoted 2 lines
I have two local repos. One is just a clone of your public repo (u-boot-denx). The other one (u-boot-denx-dave) exhibits the problem I
How exactly did you create this second repo, and what exactly did you try when attempting to merge?
u-boot-denx-dave was created by cloning the public repo. I don't remember if I cloned your repo directly (cg-clone rsync://...) or if I cloned the local repo u-boot-denx, it happend months ago. Then I created 4 new branches for ARM9 platforms and performed several commits and merges from these branches to master. Finally I issued cg-update to merge new stuff commited to the public repo in the meanwhile and I got the messages I sent a couple of days ago.
Signature · 5 lines
llandre DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2 at dave-tech.it