{"thread":{"id":"2929","subject":"cg-update does not work with argument specified","startedAt":"2005-12-26T14:02:22Z","lastAt":"2005-12-26T14:02:22Z","messageCount":1,"participants":["Alexey Nezhdanov"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"14040","messageId":"200512261702.22747.snake@penza-gsm.ru","threadId":"2929","inReplyTo":null,"subject":"cg-update does not work with argument specified","fromName":"Alexey Nezhdanov","fromEmail":"snake@penza-gsm.ru","sentAt":"2005-12-26T14:02:22Z","receivedAt":"2005-12-26T14:02:22Z","isPatch":false,"sender":{"key":"snake@penza-gsm.ru","avatar":null},"body":"Documentation/tutorial-script/script.sh line 117 fails when trying to execute\ncg-update bobswork\n\nThe error message is:\ncg-fetch: where to fetch from?\n\nQuick investigation showed that cg-update runs cg-fetch as:\ncg-fetch \"$force\" \"$name\"\n\nWhen tried it manually with\ncg-fetch \"\" bobswork got the same error.\nRemoving \"\" works fine.\n\nFurther investigation showed that cg-fetch uses \nname=\"${ARGS[0]}\"\nline to find out branch name but ARGS[0] contains empty string.\n\nProbably something should be fixed about lines 391-404 in cg-Xlib where\nARGS is set but I do not know this bash feature so unfortunately can't write \npatch myself.\n\nHope this helps.\n\nP.S. Please Cc: me I'm not following the list closely.\n\n-- \nRespectfully\nAlexey Nezhdanov\n"}]}