Jianfeng and Yu, thank you both for the help. Problem solved as follows: 1. Use "osc log Trunk gcc" to get the valid baserev. modified "baserev" in the _link file via webpage. 2. clean all unmerged files except _link. 3. clean <patches> block in _link.
Junfeng From: [email protected] [mailto:[email protected]] On Behalf Of Dong, Junfeng Sent: Friday, June 10, 2011 9:46 AM To: Wang, Yu A; [email protected] Subject: Re: [MeeGo-dev] anyone know how to recover a broken package. Thanks for your tips. Though osc co still can't work for me, I will try it more times. Junfeng From: Wang, Yu A Sent: Friday, June 10, 2011 8:25 AM To: Dong, Junfeng; [email protected] Subject: RE: anyone know how to recover a broken package. Hi Junfeng, I met this issue several times, osc repairlink doesn't work. Also even I fixed the issue in my branch project I still can't submit the request due to could not apply patch 'project.diff'. Finally I use osc co project package directly, then use osc resolved broken file, after that use osc ci will fixed it. However even after that several files have been changed, we can use osc diff with Trunk:Testing find out the reverted file and download these files from Trunk:Testing and osc ci again, everything will ok. BTW I also can't use osc co the package first time, after try more times it will succeed. Thanks Arron From: [email protected] [mailto:[email protected]] On Behalf Of Dong, Junfeng Sent: Thursday, June 09, 2011 6:27 PM To: [email protected] Subject: [MeeGo-dev] anyone know how to recover a broken package. Hi, I met a problem to check out the broken package. ( devel:base gcc). Both of "osc co" and "osc branch" can't work. Anyone has met this before? how to solve it? ========= osc co devel:base gcc Link "devel:base/gcc" cannot be expanded: Trunk:Testing gcc: Trunk/gcc/405f9cced25802f681cf823d3b8e17a8: not in repository. Either not existing or misconfigured server setting for '$nosharedtrees' setting in BSConfig.pm Use "osc repairlink" to fix merge conflicts. $ osc repairlink devel:base gcc using last working link target Server returned an error: HTTP Error 400: Bad Request Trunk/gcc/405f9cced25802f681cf823d3b8e17a8: not in repository. Either not existing or misconfigured server setting for '$nosharedtrees' setting in BSConfig.pm osc branch devel:base gcc Server returned an error: HTTP Error 400: Bad Request could not apply patch 'project.diff' ========== Thanks Junfeng
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
