Re: Tortoise CVS - Files not set read-only on checkout

"Arthur Barrett" <arthur.barrett-qn/[email protected]>
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Hi Mike,

> CVS server version: Concurrent Versions System 
> (CVSNT) 2.5.04 (Zen) Build 3236 ()

We did just recently release some important updates to this old release,
you may want to consider upgrading.  In particular this re-release
supports HPUX pa-risc and itanium servers:
http://cvsnt.org/pipermail/cvsnt/2009-August/032311.html

> I am experimenting TortoiseCVS, creating modules 
> with the "Checkout read-only" option ticked.  

I think this is some of the code we submitted and Torsten kindly
integrated - it looks like you have found a problem with it (probably
either because it was originally tested on 2.5.03 server, there is a
compatibility problem between 2.5.03 client and 2.5.04 server, or
something got missed in Tortsten's usually flawless integration).

However the 'usual' purpose of this feature is to enforce either
'co-operative' locking or 'reserved' locking - where developers are
either required to 'cvs edit' a file before working on it or required to
exclusively 'cvs edit' a file before working on it.  The server must be
involved in these tasks so it is NOT possible for a single checkbox on
the TortoiseCVS client to enable it - you need to enable the policy on
the server and set each file to the correct mode, eg:

 CVSROOT=:sspi:evs-teamserver:/cvs-repository/dtcs
 In D:\PB Projects\testlib5: 
 "cvs.exe" update -kvx test.bas

 CVSROOT=:sspi:evs-teamserver:/cvs-repository/dtcs
 In D:\PB Projects\testlib5: 
 "cvs.exe" -q commit -f -m "change file mode" test.bas
 
The CVSNT/TortoiseCVS ecosystem has all the freedoms of GPL software,
but that doesn't make learning it any easier - which is why we provide
books and training etc:
http://march-hare.com/cvsnt/features/book/en.asp

We have a few differences in our own TortoiseCVS development tree for
CVS Suite, and I have been trying to package them up for Torsten for
some time - looks like it'll be another couple of months though...  For
those interested: I think the 'bug' in the watches from Mikes trace is
this line:

  In D:\PB Projects\testlib5: 
  "cvs.exe" -q watch on
  CVSROOT=:sspi:evs-teamserver:/cvs-repository/dtcs
 
Shouldn't that be "cvs watch on readonly" ?  I have a vague recollection
that CVSNT 2.5.03 assumed this for 'cvs watch' but 2.5.04 didn't
(because otherwise it was impossible to have a watch that wasn't a
readonly watch).

Regards,


Arthur Barrett
Product Manager



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.