[cvsnt] -kbx option set on 67 files. Ouch

kmknox at aep.com kmknox at aep.com
Fri Apr 11 19:38:54 BST 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Thank you Arthur. Yes, I did search the newsgroup, and that got me as far 
as I got. We lost our trained CVS administrator, and I am leaving my 
current position, but here I am supporting CVS until we hire the new guy, 
so there are going to be huge gaps in my knowledge. 

When I ran your sequence of commands, I still received the "invalid 
editor" error. The issue, as I learned from further research on the "x" 
option, is that x will not allow commits without first putting an "edit" 
on the file in question. So the correct process was 

> Just checkout the files
> *** 'cvs edit'
> then 'cvs up -k-x' 
> 'cvs ci -f -m "remove excl"'

"Edit"ing the file allowed me to remove the x option. 

Thank you again for your help. 

Kevin






"Arthur Barrett" <arthur.barrett at march-hare.com> 
Sent by: cvsnt-bounces at cvsnt.org
04/10/2008 05:59 PM

To
<kmknox at aep.com>, <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
cc

Subject
Re: [cvsnt] -kbx option set on 67 files. Ouch






Kevin,

This has been asked about plenty of times in the past - did you search
the newsgroups?

> One of our users downloaded and went to work with Tortoise 1.10, and 
> Tortoise defaulted to setting exclusive locking for him. 

Download the latest TortoiseCVS - I believe this is fixed - but if not
contact the TortoiseCVS newsgroup.


> hand edit the ,v files to say:

Never ever ever manually edit the ,v files.  Maybe we should actually
make them all hidden?

> way to do the job. Can I safely use cvs admin -kb to take off 
> the -kbx 
> option? 

You should avoid using 'cvs admin' commands at all times - there is
ALWAYS a better way than using the admin command.  My personal favourite
coding option to fix this is to replace the entire 'admin.cpp' with
printf("ignoring user command since user hasn't thought about it
enough."); 

Just checkout the files, then 'cvs up -k-x' then 'cvs ci -f -m "remove
excl"'.

> And will that fix the permissions 444 issue? And do the 
> permissions really matter? 

Don't worry about it until it actually causes a problem.
http://customer.march-hare.com/webtools/bugzilla/ttshow_bug.cgi?id=4732

Regards,


Arthur Barrett
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook