Wednesday, November 12, 2003

CVS Update Not Pulling New Directories. 

A cvs "feature" keeps cvs update from pulling directories created since the module was checked out. For years I've been hacking around this by checking out the new directory (cvs co modules/newdirectory) and then manually editing CVS/Entries to add the D entry for the new directory. Low and behold there is actually a flag to tell cvs to pull new directories. Just toss a -d after the update (ie cvs update -d). This is different than the -d that is used to specify the cvs root when checking out a module.
Using the exact same flag for two completely seperate functions must break every usability guideline.

This page is powered by Blogger. Isn't yours?