Showing posts with label CVS. Show all posts
Showing posts with label CVS. Show all posts

Thursday, December 17, 2009

SVN/CVS Update Like Command in Mercurial

Took me way too long to find this.

To update your sources, you can use:
$ cd main $ hg pull -u

This will pull other people's changes from the server into your repository. It will also update your working copy to the latest version.

If you have made your own changes in this repository (even in a completely unrelated directory), you will need to merge your changes with other people's changes. This requires running hg merge.

Thursday, December 07, 2006

Easy Way To Remove Folder Structure in Windows

I'm in the process of switching from CVS to SVN. I wanted to remove all the underlying "CVS" directories for my projects--I first thought to write a recursive batch file that would search and destroy all CVS folders. Frankly, however, I did not really want to spend time looking up old DOS batch commands. J. Lester and T. Scott had the idea to use Windows Search functionality (yes, I know, hard to believe it's good for something). Basically, (1) open the folder that you want to recursively delete some files/folders in, (2) then open the Search box, enter your search criteria, (3) select files and delete. It's that easy; see below:

(1) Open folder of interest

(2) Search

(3) Select and delete