{"thread":{"id":"6427","subject":"git-cvsserver won't add new content on update","startedAt":"2007-01-18T16:16:35Z","lastAt":"2007-01-19T09:54:53Z","messageCount":5,"participants":["Andy Parkins","Shawn O. Pearce","Martin Langhoff"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"32001","messageId":"200701181616.38318.andyparkins@gmail.com","threadId":"6427","inReplyTo":null,"subject":"git-cvsserver won't add new content on update","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-01-18T16:16:35Z","receivedAt":"2007-01-18T16:16:35Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"Hello,\n\nI am trying to use git-cvsserver to supply CVS access to my git repository.  \nThe checkout worked okay, but now, during normal operation, I've made changes \nand added content.  After a cvs update the changed files all seem to have \nbeen updated as expected, however the added files are not being added.  \nHowever, CVS is reporting that the file is added; but it never appears.\n\nsome/sub/directory$ cvs update\nA some/sub/directory/file.c\n\nAfter the above the file is not created.  Repeated cvs update calls result in \nthe same output everytime.  I've tried it from the root of the tree (in case \nit was a path issue) and that fails in the same way.  I've tried specifying \nthe path explicitly and that doesn't help either.  cvs status reports that \nthe file is \"Status: Needs Checkout\".\n\nA new cvs checkout in a different directory does get the new file, so this is \na problem with updates only.\n\nI'm not familiar with CVS so it could easily be that I've not understood; \nhowever the CVS tutorials say that this should be giving \"U\" output instead \nof \"A\" output.\n\nSo: is this a bug, or is it that (as usual) I've not done something terribly \nsimple.\n\n\nAndy\n-- \nDr Andy Parkins, M Eng (hons), MIEE\nandyparkins@gmail.com\n"},{"id":"32002","messageId":"20070118162222.GE15428@spearce.org","threadId":"6427","inReplyTo":"200701181616.38318.andyparkins@gmail.com","subject":"Re: git-cvsserver won't add new content on update","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-01-18T16:22:22Z","receivedAt":"2007-01-18T16:22:22Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Andy Parkins <andyparkins@gmail.com> wrote:\n> I am trying to use git-cvsserver to supply CVS access to my git repository.  \n> The checkout worked okay, but now, during normal operation, I've made changes \n> and added content.  After a cvs update the changed files all seem to have \n> been updated as expected, however the added files are not being added.  \n> However, CVS is reporting that the file is added; but it never appears.\n> \n> some/sub/directory$ cvs update\n> A some/sub/directory/file.c\n\nYou need to commit first to get the file completely added.\nWhat you are seeing above is that the file was listed in\nsome/sub/directory/CVS/Entries so that the next commit will\nknow to upload the file to the server.  Until then its not\nactually going to do that...\n\n-- \nShawn.\n"},{"id":"32011","messageId":"46a038f90701181101w1ea300b6lb4d7e4354d89be95@mail.gmail.com","threadId":"6427","inReplyTo":"20070118162222.GE15428@spearce.org","subject":"Re: git-cvsserver won't add new content on update","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2007-01-18T19:01:56Z","receivedAt":"2007-01-18T19:01:56Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 1/19/07, Shawn O. Pearce <spearce@spearce.org> wrote:\n> You need to commit first to get the file completely added.\n> What you are seeing above is that the file was listed in\n> some/sub/directory/CVS/Entries so that the next commit will\n> know to upload the file to the server.  Until then its not\n> actually going to do that...\n\nyup. Also make sure you are using a really recent git-cvsserver, I\nrecently fixed a couple of problems related to file adds.\n\ncheers.\n\n\nmartin\n"},{"id":"32036","messageId":"200701190721.44891.andyparkins@gmail.com","threadId":"6427","inReplyTo":"20070118162222.GE15428@spearce.org","subject":"Re: git-cvsserver won't add new content on update","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-01-19T07:21:43Z","receivedAt":"2007-01-19T07:21:43Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"On Thursday 2007, January 18 16:22, Shawn O. Pearce wrote:\n\n> You need to commit first to get the file completely added.\n> What you are seeing above is that the file was listed in\n> some/sub/directory/CVS/Entries so that the next commit will\n> know to upload the file to the server.  Until then its not\n> actually going to do that...\n\nI've mislead you.  The file was added in the git repository.  It got there \nfine; it's therefore not in the Entries file.  I'm merely trying to get the \nfile to appear in the CVS sandbox.\n\n\n\nAndy\n\n-- \nDr Andrew Parkins, M Eng (Hons), AMIEE\nandyparkins@gmail.com\n"},{"id":"32078","messageId":"200701190955.00335.andyparkins@gmail.com","threadId":"6427","inReplyTo":"46a038f90701181101w1ea300b6lb4d7e4354d89be95@mail.gmail.com","subject":"Re: git-cvsserver won't add new content on update","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-01-19T09:54:53Z","receivedAt":"2007-01-19T09:54:53Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"On Thursday 2007, January 18 19:01, Martin Langhoff wrote:\n\n> yup. Also make sure you are using a really recent git-cvsserver, I\n> recently fixed a couple of problems related to file adds.\n\nI've just tried again with the git-cvsserver from current next, with the same \nresult.\n\nI also repeated with pu and got the same result.  In all cases, the log is \nshowing the \"Tell the client the file will be added\" message; which seems \ncorrect.\n\n\nAndy\n\n-- \nDr Andrew Parkins, M Eng (Hons), AMIEE\nandyparkins@gmail.com\n"}]}