[Insight-developers] Top-level CMakeLists.txt file was read-only

Brad King brad.king@kitware.com
Thu, 3 Oct 2002 10:27:54 -0400 (EDT)


Hello,

Some of you may have noticed that the top-level CMakeLists.txt file in ITK
has been read-only after a check out for quite some time.  I finally took
the time to look into the problem, and it has been fixed.

The problem can be duplicated on a file by doing this:

cvs watch add foo
cvs watch on foo
cvs watch remove foo

This leaves foo in a permanent watch mode, without anyone to be notified.
As a result, all checkouts are read-only.  The fix to the problem is to
reverse the operations:

cvs watch add foo
cvs watch off foo
cvs watch remove foo

I've done this for the top-level CMakeLists.txt file, but it won't
automatically fix your individual checkouts.  You have to manually remove
the file, and then do a cvs update again:

rm CMakeLists.txt
cvs update CMakeLists.txt

If anyone encounters a file with this problem in the future, this solution
should fix it.

-Brad