{"thread":{"id":"22218","subject":"Migrating from Serena PVCS to GIT","startedAt":"2010-01-14T08:54:16Z","lastAt":"2010-01-14T09:51:16Z","messageCount":3,"participants":["Rivka Pollack","Peter Krefting"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"131622","messageId":"loom.20100114T095059-276@post.gmane.org","threadId":"22218","inReplyTo":null,"subject":"Migrating from Serena PVCS to GIT","fromName":"Rivka Pollack","fromEmail":"rivka_p1@verifone.com","sentAt":"2010-01-14T08:54:16Z","receivedAt":"2010-01-14T08:54:16Z","isPatch":false,"sender":{"key":"rivka_p1@verifone.com","avatar":null},"body":"Is there a simple way to migrate from Serena PVCS, with all of our older,\nversioned, documentation, into GIT repositories?\nThanks.\n"},{"id":"131626","messageId":"alpine.DEB.2.00.1001141007260.15144@ds9.cixit.se","threadId":"22218","inReplyTo":"loom.20100114T095059-276@post.gmane.org","subject":"Re: Migrating from Serena PVCS to GIT","fromName":"Peter Krefting","fromEmail":"peter@softwolves.pp.se","sentAt":"2010-01-14T09:10:18Z","receivedAt":"2010-01-14T09:10:18Z","isPatch":false,"sender":{"key":"peter@softwolves.pp.se","avatar":"https://avatars.githubusercontent.com/u/990764?v=4"},"body":"Rivka Pollack:\n\n> Is there a simple way to migrate from Serena PVCS, with all of our older, \n> versioned, documentation, into GIT repositories?\n\nThe only more-or-less reliable export from PVCS that I have found is to RCS. \nThere is a script for PVCS-to-RCS export in the CVS source archives (I \nneeded to hack the scripts a bit to get them to run properly, unfortunately \nI do not have access to those changes). It needs to be run on a machine \nthat has both PVCS and RCS binaries installed, and it needs to check out \nevery revision for every file, so it does take some time to run.\n\nAfter doing that, I moved the RCS files to a CVS-like directory layout and \nimported them into Git using one of the CVS-to-Git migration tools.\n\nA tedious process, but it can be done.\n\n-- \n\\\\// Peter - http://www.softwolves.pp.se/\n"},{"id":"131630","messageId":"alpine.DEB.2.00.1001141047350.15144@ds9.cixit.se","threadId":"22218","inReplyTo":"alpine.DEB.2.00.1001141007260.15144@ds9.cixit.se","subject":"Re: Migrating from Serena PVCS to GIT","fromName":"Peter Krefting","fromEmail":"peter@softwolves.pp.se","sentAt":"2010-01-14T09:51:16Z","receivedAt":"2010-01-14T09:51:16Z","isPatch":false,"sender":{"key":"peter@softwolves.pp.se","avatar":"https://avatars.githubusercontent.com/u/990764?v=4"},"body":"Following up my own reply:\n\n> There is a script for PVCS-to-RCS export in the CVS source archives (I \n> needed to hack the scripts a bit to get them to run properly, \n> unfortunately I do not have access to those changes).\n\nIIRC, the changes I needed to make was to ensure that the files did not get \ntheir keyword expanded again by RCS (adding -ko mode; this also survives \ninto Git), since the revision numbers are off-by-one in RCS compared to PVCS \n(RCS starts at 1.1, PVCS at 1.0). I also had to extend the list of binary \nfile types in the PVCS-to-RCS script to cover all the binary files that were \nchecked in.\n\n-- \n\\\\// Peter - http://www.softwolves.pp.se/\n"}]}