what to do with corrupted ,v files?

2003-03-26 Thread Dusan Juhas
Hello,
I used check_cvs utility and found several corrupted files in
the repository.
What I can do with a ,v file if cvs sais
cvs [checkout aborted]: premature end of change in .../bla.c,v
if I do cvs co -r x.y.z.w bla.c ?
-- 
Best regards,
Dusan Juhas





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: wrong commit/ seeking branching advice

2003-03-26 Thread Dusan Juhas
Hi Ed,

 Is there a way to reverse the changes, or at least move the
 changed revision from the main trunk to the branch?

CVS is like the toilet paper - once you use it, it's not clean
to roll it back ;-)

To get over it just make a desired branch from a current main trunk,
then ckeck out recent main trunk, export (cvs export) the version you want
to be `on the top' and commit changes.

 it to use MySQL on a central server.  In this case,
 is it natural to use the branching technique to differentiate
 the non-Mysql app to the MySQL app?   Or should I just
 forget the branches and use a seperate repository?

It depends up to you. Generally speaking branches are good for
several versions of the same software. If your apps share the same
source files, branches would help you. If this is not the case
you can use modules to have everything together but relatively
independent. Separate repositories expect no links between projects.
You can define independent permissions, pre and post-commit actions etc.
but you are not sharing the same sources.

Regards,
Dusan



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Tag Limitations

2003-03-26 Thread Larry Jones
John Muller writes:

 MIME-Version: 1.0
 Content-Type: text/html

Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE!

 Are there any limitations in CVS in the number of tags that you may
 have? 

No.

 Are there any performance issues with the number of tags?

No.

-Larry Jones

Good gravy, whose side are you on?! -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: wrong commit/ seeking branching advice

2003-03-26 Thread Larry Jones
cc writes:
 
 Is there a way to reverse the changes, or at least move the
 changed revision from the main trunk to the branch?

See the manual:

http://www.cvshome.org/docs/manual/cvs_5.html#SEC62

-Larry Jones

Isn't it sad how some people's grip on their lives is so precarious
that they'll embrace any preposterous delusion rather than face an
occasional bleak truth? -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: what to do with corrupted ,v files?

2003-03-26 Thread Larry Jones
Dusan Juhas writes:
 
 I used check_cvs utility and found several corrupted files in
 the repository.
 What I can do with a ,v file if cvs sais
 cvs [checkout aborted]: premature end of change in .../bla.c,v
 if I do cvs co -r x.y.z.w bla.c ?

First, figure out how the corruption happend and make sure it doesn't
happen again.  The most common cause is accessing the repository with
NFS (or some other network file system), although hardware problems are
also a possibility (especially if you're using cheap PC hardware with no
error checking).

You may be able to fix the file by getting an uncorrupted copy from a
backup (you do back up your repository, don't you?), extracting each new
revision that's in your current file and adding it to the backup copy
(using RCS commands), and then replacing the corrupted file with the new
file.  Failing that, fixing a corrupted file is a black art -- you're
going to have to become intimately familiar with the RCS file format and
dig in with a text editor and whatever you can reconstruct of the file's
history.

-Larry Jones

I think your train of thought is a runaway. -- Calvin's Mom


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


file permissions

2003-03-26 Thread Lu Fang
Hi, all
I have installed CVS with cygwin under windows2k operation system. It is 
working properly. Further more,I want to specify the files permissions for 
different group of users. I have read the cvs manualfrom

http://www.cvshome.org/docs/manual/cvs_2.html#SEC13

and I have used the command chmod to specify a read only access rights to 
the repository for the user named cvsuser, but I found that when I log in 
as cvsuser and tried to access the repository, I can check out file and 
commit file properly, except that there is a warning which said that can 
not write to history file. What I want is that there should be a totally 
fail if without write permission, but not only a warning there.

By the way, can I make the restriction to prevent some user from reading 
some files from the repository? It seems that I can not take away the read 
permission from users by using command chmod. It seems that all the 
directories and files should be readable at least for all the users.

Can anyone give some help? thanks alot!

Lu Fang



_
Send a fun phone greeting to your friend! 
http://www.msn.com.sg/mobile/fungreetings/



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: PVCS2CVS

2003-03-26 Thread Zanabria, Moises
I found what the problem was ...
my environment was point to perl/bin, there is get function utility under
perl/bin/ but the script needs pvcs/nt/get utility instead.

BTW. You don't need Active Perl for Windows and CVSNT, RCS 5.7,  Perl
5.004_04 or higher for windows are enough, you can use CygWin or mksnt to
run the script.
Thanks for the help.


-Original Message-
From: Alexandre Augusto Drummond Barroso
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 2:30 PM
To: Zanabria, Moises; [EMAIL PROTECTED]
Subject: RE: PVCS2CVS


I'm doing a big conversion from PVCS/Windows to CVSNT. The conversion script
only worked when I installed CygWin. But even though, you cannot use the
RCS, Perl and CVS installed with Cygwin. Use CVSNT, Active Perl for Windows
and the RCS for Windows instead.


 -Original Message-
 From: Zanabria, Moises [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 24, 2003 7:42 PM
 To: '[EMAIL PROTECTED]'
 Subject: PVCS2CVS
 
 
 Hey Guys,
 I'm wondering if any of you had experience in conversion from 
  PVCS to CVS
 on NT environment, I did a conversion on UNIX and it worked good.
 
 but on NT,  I'm experimenting some kinds of problems with RCS 
 for NT, any
 help would be really appreciate.
 
 Not sure but looks like rcs is looking for RCS/etehooks.h,v before
 etehooks.h_v is converted to etehooks.h,v
 
 below is an example:
 /cygdrive/c/PVCS/NT/vcs
 /cygdrive/c/PVCS/NT/vlog
 /cygdrive/c/gnu_tools/bin/dos/rcs
 /cygdrive/c/gnu_tools/bin/dos/ci
 
 Directory: j:/tac/ete/h/RCS
 vlog 'etehooks.h_v'
 PVCS Version Manager (vlog) v5.3.00 (Build 09) for Windows NT/80x86
 Copyright 1985-1997 INTERSOLV, Inc.  All rights reserved.
 Workfile is etehooks.h
 RCS Archive is RCS/etehooks.h,v
 Revision count is 23
 Version labels start at 25
 Description is Initial Entry
 Found revision: 1.16
 Checked in: Mar 20 2003 21:43:14
 Author: 
 Got comment for 1.16
 comment string: Fix 373344
 
 
 
 Original revision is 1.9.1.0
 Label ETEGAPATCH01 is for revision 1.10.2.1
 get -Y -r1.0 'etehooks.h_v'
 Unknown option: Y
 Unknown option: r1.0
 Usage: get [-options] url...
 -m method   use method for the request (default is 'GET')
 -fmake request even if get believes method is illegal
 -b base Use the specified URL as base
 -t timeout  Set timeout value
 -i time Set the If-Modified-Since header on the request
 -c conttype use this content-type for POST, PUT, CHECKIN
 -aUse text mode for content I/O
 -p proxyurl use this as a proxy
 -Pdon't load proxy settings from environment
 -H header   send this HTTP header (you can specify several)
 
 -uDisplay method and URL before any response
 -UDisplay request headers (implies -u)
 -sDisplay response status code
 -SDisplay response status chain
 -eDisplay response headers
 -dDo not display content
 -o format   Process HTML content in various ways
 
 -vShow program version
 -hPrint this message
 
 -xExtra debugging output
 rcs -x,v -i etehooks.h
 Can't call method print on an undefined value at 
 pvcs2cvs.pl line 866.
 etehooks.h,v: No such file or directory
 rcs:
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/info-cvs
 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Log data for branches

2003-03-26 Thread Mike Ayers

 From: Eric Siegerman [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 25, 2003 6:23 PM

 On Tue, Mar 25, 2003 at 05:34:08PM -0800, Mike Ayers wrote:
  Hmmm - not the results I got...
 
  cvs server: invalid option -- S
  Usage: cvs server [-lRhtNb] [-r[revisions]] [-d dates] [-s states]
 
 Note who's complaining -- cvs server, not cvs log.
 
 Your client may be 1.11.5, but your server must be older.  Try
 cvs version instead of cvs -v; the former prints out the
 server's CVS version too.

Whoops!  Missed that.  Well, that hangs that (for now), as I have no option to 
upgrade the server.  Hopefully Douglas will get his changes mailed in, or, if not, I 
can always patch my version.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


$Name:1500E$

2003-03-26 Thread Gurpreet Singh (SCM)

Hi All 

I have a simple cpp file.
I am using WinCVS 1.2

If the change we are trying to commit into CVS is delimited within $
characters like in a specific line it has $Name:1500E$ then CVS is not
able to get  the changes on the file  - though it gets updated and the
commit is fine - giving a new revision number.

Kindly let me know,  if any workout for it... 

Regards
Gurpreet S

The mind is not a vessel to be filled but a fire to be kindled.
 --Plutarch 





-Original Message-
From: Mike Ayers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 11:24 PM
To: Eric Siegerman; [EMAIL PROTECTED]
Subject: RE: Log data for branches



 From: Eric Siegerman [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 25, 2003 6:23 PM

 On Tue, Mar 25, 2003 at 05:34:08PM -0800, Mike Ayers wrote:
  Hmmm - not the results I got...
 
  cvs server: invalid option -- S
  Usage: cvs server [-lRhtNb] [-r[revisions]] [-d dates] [-s states]
 
 Note who's complaining -- cvs server, not cvs log.
 
 Your client may be 1.11.5, but your server must be older.  Try
 cvs version instead of cvs -v; the former prints out the
 server's CVS version too.

Whoops!  Missed that.  Well, that hangs that (for now), as I have no
option to upgrade the server.  Hopefully Douglas will get his changes mailed
in, or, if not, I can always patch my version.


/|/|ike


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs