What's That Noise?! [Ian Kallen's Weblog]

Main | Next day (Nov 24, 2004) »

20041123 Tuesday November 23, 2004

Adding a file system hierarchy into a CVS module I had a whole bunch of code that needed to added to a CVS repository. Normally with just a new directory or two and a few files, doing "cvs add" for each one is no big deal. But when there's a whole file system hierarchy that can be a real PITA. This is where "cvs import" comes in handy.

I usually only use "cvs import" to create a new CVS module but it can also be used to do a "bulk add." Maybe it's common knowledge for CVS jockies but it's easy to forget about unless oft-used. Here's the scenario:

There, that's a lot easier than individually adding directories and files.

( Nov 23 2004, 11:09:35 AM PST ) Permalink