Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

schwern (1528)

  (email not shown publicly)
AOL IM: MichaelSchwern (Add Buddy, Send Message)

Schwern can destroy CPAN at his whim.

Journal of schwern (1528)

Wednesday August 17, 2005
01:11 PM

The Return of CVS!

[ #26329 ]

Since Apple ate my hard drive I lost my CVS repository leaving me with only the few projects I'd imported into SVN. So I've been holding off working on most of my other CPAN modules until my repo is restored.

I just recovered a rather old repository off an old drive and I think this is the best its going to get. Its from May 2002. That might seem really old but its newer than about half my modules. The rest I'll just have to write up as a loss and import into SVN fresh from CPAN.

What all this means is I can start updating old modules again.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I like svk. I pulled a lot of old versions of my modules off of Backpan, created an svk repository for them, and extracted each old version one at a time into the appropriate directory, updating svk each time. It's a process almost worth automating.

    (The only trick is that the modules beneath directories containing version numbers, but a simple rename worked just fine.)

  • I can recommend cvs2svn []. It did a pretty reasonable job of converting my cvs repository to subversion. Of course, you'll want to go in afterwards and do a bit of tidying up, but on the whole it's pretty easy.

    The main problem is the time. It was pretty quick for my home repository, but the one at work took several hours and resulted in over 35,000 commits.


    • Yes, I used cvs2svn to do my initial conversion of a handful of projects but didn't do them all at once as I wasn't sure I was going to stick with SVN at the time. Kicking myself now for not having just done it all in one shot.

      I also recently did a conversion of a 500 meg (compressed) CVS work repo spanning about half a decade of development. Took just 2 hours to dump resulting in an 800 meg dump file and about an hour to load. 27,000 revisions. It did an excellent job of finding all the branches and ta
      • Yes, the cleaning up after conversion import is the hard bit IMHO. I still haven't really found a good solution to reorganising a subversion repository. I'm still using a whole bunch of command line renames. Alas, I don't think there's a better way.