{"thread":{"id":"19766","subject":"[BUG] git cvsexportcommit -W","startedAt":"2009-06-10T14:38:58Z","lastAt":"2009-06-10T14:38:58Z","messageCount":1,"participants":["Reto Glauser"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116014","messageId":"ea9100509a9a5e21b9dc193cd34f812b@blinkeye.ch","threadId":"19766","inReplyTo":null,"subject":"[BUG] git cvsexportcommit -W","fromName":"Reto Glauser","fromEmail":"linux@blinkeye.ch","sentAt":"2009-06-10T14:38:58Z","receivedAt":"2009-06-10T14:38:58Z","isPatch":false,"sender":{"key":"linux@blinkeye.ch","avatar":null},"body":"I followed a tutorial about bi-directional git-cvs usage:\n\nhttp://blogs.frugalware.org/vmiklos/2008/06/14/new_in_git_1_5_6_git_cvsexportcommit_w?blog=7&c=1&page=1&more=1&title=new_in_git_1_5_6_git_cvsexportcommit_w&tb=1&pb=1&disp=single\n\nThe new git cvsexportcommit option '-W' allows to use the same directory\nfor a CSV checkout and git checkout. But it doesn't work with the\nautocommit feature '-c':\n\n# git cvsexportcommit -v -W -c -p -u 65f12da\nResetting to 88de7d44a6d6343077645fb43b63e3f2907d6fdd\nApplying to CVS commit 65f12da1b98c5a3546356a8c42b6aff005531cd7 from parent\n88de7d44a6d6343077645fb43b63e3f2907d6fdd\nChecking if patch will apply\nApplying\nPatch applied successfully. Adding new files and directories to CVS\nCommit to CVS\nPatch title (first comment line): add content to file4\nAutocommit\n  cvs commit -F .msg 'file4'\nCommitted successfully to CVS\nHEAD is now at 65f12da... add content to file4\n\nNow, even though everything looks OK, the CVS is not up-to-date. Removing\nthe autocommit feature (-c) reveals the problem:\n\n# git cvsexportcommit -v -W -p -u 65f12da\nResetting to 88de7d44a6d6343077645fb43b63e3f2907d6fdd\nApplying to CVS commit 65f12da1b98c5a3546356a8c42b6aff005531cd7 from parent\n88de7d44a6d6343077645fb43b63e3f2907d6fdd\nChecking if patch will apply\nApplying\nPatch applied successfully. Adding new files and directories to CVS\nCommit to CVS\nPatch title (first comment line): add content to file4\nReady for you to commit, just run:\n\n   cvs commit -F .msg 'file4'\nHEAD is now at 65f12da... add content to file4\n\nNow, \n\n# cvs commit -F .msg 'file4'\n\ndoesn't do anything (but return value is 0).\n\nYou need to use '-f' to force the update:\n\n# cvs commit -f -F .msg 'file4'\n/tmp/CVS/project1/file4,v  <--  file4\nnew revision: 1.2; previous revision: 1.1\n\nI'm using git-1.6.3.1.\n"}]}