Reading from server: error

2004-09-01 Thread Forum
Hi,
I use WinCvs since a fiew years without any problems, but 3 weeks ago y  
went to New Caledonia with my notebook.

Connecting to diffrent cvs servers (sourceforge.net etc...) didn't cause  
any problems from Noumea, but since I moved to another island in New  
Caldedonia, with a single Cyber, WinCvs doesn't work anymore.

I always get this error message (on different servers):
cvs [update aborted]: reading from server: error -1
Internet, mail, telnet, ftp, everything works fine, but not the cvs.
I tried with the Mac (MacCvs), it's the same problem.
It seams that it is the pserver protocol itself that doesn't work.
My connection is made with an ADSL routeur, and I tried also with an ADSL  
modem.
BUT, il I connect myself via the classic analogic telephone, everything is  
fine...

Could anybody give me one idea ?
Thanks,
Didier
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


CVS taking memory

2004-09-01 Thread Sandhya
Hi all,

Let me explain the CVS environment here in my company.

CVS is running on a linux box, and the version is CVS 1.11.6.
I have configured the env in such a way that we use pserver to connect to the server, 
from our 
clients which are all Windows2000 boxes.
We have users, working for a project, mapped to a single unix user name and which 
inturn belong to 
various groups. These groups are used to control folder-wise access. We have as many 
unix users as 
we have projects. Each and every project has a corresponding unix user name. All the 
cvs users 
working on a project are mapped to that particular unix user.
Apart from this we have a webmin server running on port 8500 and an apache running on 
80, from the 
same machine.

With all these, we are facing problems with memory on the server. One project takes 
around 800 MB 
of memory. We have given 4 GB of RAM for the machine, and 6 GB of swap space.

Can any one of you guide me, as to what I can do to monitor this ??? Is there any 
solution for 
this ?? 
there are over 700+ users in our company, who hit the CVS server.


Thanx 
Sandhya.


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


Retrieving CVS modules information

2004-09-01 Thread Ivan Ivanov
Dear colleagues,

according to cvs man page the command
cvs checkout -c
lists the modules imported in the CVS (i.e. the
contents of the modules file). However, when I invoke
it againts my company's repository it returns no
modules but there are lots. Does this command requires
some special configuration and if so where I can find
it?

Thank you in advance

Ivan Ivanov



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


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


Re: Reverting a concrete revision

2004-09-01 Thread rolo2002

I have made that, and nothing changed at all.

Maybe I did not explain myself well.

A file with 1.1, 1.2, 1.3, 1.4 and 1.5 revisions.

Generate 1.6 tah contains code from 1.1, 1.2, 1.4 and 1.5, I mean to NOT include 
changes made in 1.3 revision

Checking out last revision (1.5) and doing cvs update -j 1.3 -j 1.5 that does 
nothing...

What am I doing wrong?

Thanks again

Rolo


 [EMAIL PROTECTED] writes [in very long lines]:
 

  Using i.e cvs update -j revision 1.6 -j revision 1.3
  file.c, we discard changes from 1.6 to 1.3. Then, commiting, we get
  revision 1.7 that is exactly the same as 1.3. Now, suppose I want to
  generate a new revision of file.c but containing code from 1.1 to 1.3
  + 1.5 and 1.6 revision, because I realise that I don not want the
  changes made on revision 1.4 but still want all the changes made in 1.5
  and 1.6. Doing the previous update, I lost 1.4 changes but also 1.5 and
  1.6. So the idea is revert ONLY the changes that were made on 1.4. If
  the changes of 1.5 and 1.6 are small (or changes of 1.) it can be do it
  manually but this is not my case.
 
  Is there any way to do this in CVS?

 Of course, just merge those changes back in:

   cvs up -j1.4 -j1.6 file.c

 -Larry Jones

 These findings suggest a logical course of action. -- Calvin




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


Re: Reverting a concrete revision

2004-09-01 Thread Fabian Cenedese

A file with 1.1, 1.2, 1.3, 1.4 and 1.5 revisions.

Generate 1.6 tah contains code from 1.1, 1.2, 1.4 and 1.5, I mean to NOT include 
changes made in 1.3 revision

Checking out last revision (1.5) and doing cvs update -j 1.3 -j 1.5 that does 
nothing...

Use the same command but change the order of the revisions.

Take in changes made from 1.3 to 1.4
cvs up -j1.3 -j1.4 file.c

Take out changes made from 1.3 to 1.4
cvs up -j1.4 -j1.3 file.c

bye  Fabi




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


Re: Retrieving CVS modules information

2004-09-01 Thread Ivan Ivanov
 
 Are you sure there are really modules, that is,
 there are entries in
 CVSROOT/modules? I have seen CVS repositories where
 everything was just
 organized in the file system.

Do you mean that we should describe manually each
module in CVSROOT/module? But we currently have more
that 50 modules and more are coming? Doesn't CVS
automatically tracks when a new module is imported and
adds it to this file? Can it be set up to do so?

Thank you for your reply.

 
 Regards,
Spiro.
 
 -- 
 Spiro R. Trikaliotis
 http://www.trikaliotis.net/
 http://www.viceteam.org/
 




__
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com


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


RE: How to create patch for project?

2004-09-01 Thread Miller Dale C Contr AFWA/SDHS
Mak,

The rdiff -s argument using two dates or two tags gives you good
information.  It shows what files have changed, are new, or removed (in
attic) with revision numbers.  

cvs -Q rdiff -s -Dmmdd -Dmmdd module 

  or

cvs -Q rdiff -s -rtag1 -rtag2 module

(I use version tags that include a date.) 

Output is in the following format:  

File weather/docs/index.html changed from revision 1.9 to 1.10
File weather/docs/links.htm is new; ver_20040823 revision 1.4
File weather/docs/alaska.html is removed; ver_20040524 revision 1.9

Processing this with a perl script could cvs export each file to a staging
area for transferring to another person.

This information gives you a good change list, but it does not show hacking
where files were moved, renamed, or deleted.

A find statement on the $CVSROOT/module each time you hand off an update
would document what is in the repository at the time.

find $CVSROOT/module -type f | egrep -v Attic|CVS | sort module_list

Keep the snapshot under CVS.  I have a module_list snapshot updated and
committed automatically (a cron job) whenever a new file is added to our
repository by touching an add_flag file the cron job checks for.

I actually do a find inside a perl program and then removed the ,v and the
$CVSROOT from the path.  I also do not restrict it to -type f so I also have
the directory names (appending an ending slash to the directory names).  The
program also commits the updated the file.

Dale Miller
Northrop Grumman Mission Systems
Bellevue, NE

 Mak == Mak  [EMAIL PROTECTED] writes:
  Mak I have a situation where I cannot understand how rdiff can help me. 

  Mak I'm now at a point where I now need to send him only revised files. I
  Mak need a process to checkout the project with only the files that were
  Mak changed between the last tag and now. Complete file that can be used
to
  Mak overwrite the old ones. The directory structure also need to be
  Mak maintained (naturally!!)

  Mak How would I do this? Any help is appreciated.



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


Re: Reverting a concrete revision

2004-09-01 Thread rolo2002
Hi Fabian  all,

It does not work. It does do nothing!.

My idea is generate a new revision but deleting changes made in a very old revision...

Thanks

Rolo




 A file with 1.1, 1.2, 1.3, 1.4 and 1.5 revisions.
 
 Generate 1.6 tah contains code from 1.1, 1.2, 1.4 and 1.5, I mean to NOT include 
 changes made in 1.3 revision
 
 Checking out last revision (1.5) and doing cvs update -j 1.3 -j 1.5 that does 
 nothing...

 Use the same command but change the order of the revisions.

 Take in changes made from 1.3 to 1.4
 cvs up -j1.3 -j1.4 file.c

 Take out changes made from 1.3 to 1.4
 cvs up -j1.4 -j1.3 file.c

 bye  Fabi




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




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


Re: Reverting a concrete revision

2004-09-01 Thread Fabian Cenedese

It does not work. It does do nothing!.

My idea is generate a new revision but deleting changes made in a very old revision...

Did you check out the file or update to the newest version? What is the
output of cvs when you apply the update command?

bye  Fabi




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


CVS server setup without being su?

2004-09-01 Thread Yen-Hao Huang
Dear all,
  Is it possible to set up a CVS server without being able to log
in as root? If so, is there a step by step guide?

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


Re: CVS server setup without being su?

2004-09-01 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yen-Hao Huang [EMAIL PROTECTED] writes:

 Dear all,
   Is it possible to set up a CVS server without being able to log
 in as root? If so, is there a step by step guide?

Yes. However, you will need to use the :ext: rather than the :pserver:
protocol.

umask 002
CVS_RSH=ssh; export CVS_RSH;# csh users use 'setenv CVS_RSH ssh'
cvs -d :ext:host.dom.ain:/path/to/your/repository init

Now any user who is in the group of the /path/to/your/repository on the
host.dom.ain host will be able to do things like this:

cvs -d :ext:host.dom.ain:/path/to/your/repository checkout -d top .
cd top
mkdir new-module
cvs add new-module
cd new-module
...create new files and 'cvs add' them...
cvs commit

All of the users who want to use your CVS server will need to be able to
login to your server machine via 'ssh' in the above example, or you could
use 'rsh' if you have a secure environment.

Good luck,
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBNexr3x41pRYZE/gRAqM5AJ4loWu2m1DpkGCGTA78W5EeLbRzNgCgwGhH
SOzxHxrhDogaWmsrc0mO8p4=
=Era1
-END PGP SIGNATURE-


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


Re: Retrieving CVS modules information

2004-09-01 Thread Spiro Trikaliotis
Hello Ivan,

* On Wed, Sep 01, 2004 at 06:50:50AM -0700 Ivan Ivanov wrote:

 Do you mean that we should describe manually each module in
 CVSROOT/module?

Yes, that's the way it is supposed to be.

 But we currently have more that 50 modules and more are coming?
 Doesn't CVS automatically tracks when a new module is imported and
 adds it to this file?

No, CVS does not track this automatically. In fact, CVS does not talk of
a module unless there is a line in CVSROOT/modules for it.

 Can it be set up to do so?

Not that I know of.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://www.viceteam.org/


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


Re: Total Heresy: CVS Windows MS Office Docs

2004-09-01 Thread Stefan Monnier
 You can combine this with a GUI like TortoiseCVS (CVSNT client comes with
 Tortoise) to even show diff's between word documents (may require some
 additional software). GUI's like Tortoise do this by getting the two copies
 that you want to see the differences between from CVSNT and then calling a
 3rd program to display the differences. This can be Word (called by COM)
 or any other tool.

Is there something like Emacs's VC but for Word and such?
The CS-RCS system provides basically that (it adds an RCS menu to Word
where you can commit, diff, checkout, ...), but I'm looking for something
using a more recent revision control system, and it should work on
MacOSX too.  Free Software strongly preferred.


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


RE: .dfm files check in as text in CVS leads to any corruption?

2004-09-01 Thread Alexandre Augusto Drummond Barroso
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Larry Jones
 Sent: Tuesday, August 24, 2004 11:26 PM
 To: Mark D. Baushke
 Cc: [EMAIL PROTECTED]
 Subject: Re: .dfm files check in as text in CVS leads to any 
 corruption?
 
 Mark D. Baushke writes:
  
  If there are Delphi/C++Builder Forms, I would
  have thought those to be derived objects rather
  than primary source files to be controlled.
 
 No, the .dfm file is the actual definition of the form.  By default,
 Borland stores it in an opaque binary format for no apparently good
 reason, but, to their credit, they also provide an option to store it
 in a nice, plain text format that is amenable to CVS operations.
[snip]

H. This information is not accurate. By default, Borland stores it in
*text* format, not binary, at least since May 2001, when it released 
Delphi 6. Of course if Mr. Baushke is still using Delphi 5, you're right.

The company I work for have been developing systems using Delphi since it's
first incarnation, and the forms were all binary. Of course, during the
migration from Delphi 4 to Delphi 6, I had to create a cvs repository to be
used as backup repository of all forms in binary format, and since we were
also migrating from Merant PVCS to CVS, I altered the PVCStoCVS perl script to 
convert every dfm to its text format before adding a release of a dfm to its
RCS file.

Alexandre.


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


Re: .dfm files check in as text in CVS leads to any corruption?

2004-09-01 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Alexandre,

Just to set the record straight... the original e-mail that started this
thread may be found here:

http://lists.gnu.org/archive/html/info-cvs/2004-08/msg00124.html

I have no idea as to the version of Borland is being used by Paras
jain, but it is that person who is/was apparently experiencing
corruption because the .dfm files were apparently binary.

Enjoy!
-- Mark

Alexandre Augusto Drummond Barroso [EMAIL PROTECTED] writes:

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  Larry Jones
  Sent: Tuesday, August 24, 2004 11:26 PM
  To: Mark D. Baushke
  Cc: [EMAIL PROTECTED]
  Subject: Re: .dfm files check in as text in CVS leads to any 
  corruption?
  
  Mark D. Baushke writes:
   
   If there are Delphi/C++Builder Forms, I would
   have thought those to be derived objects rather
   than primary source files to be controlled.
  
  No, the .dfm file is the actual definition of the form.  By default,
  Borland stores it in an opaque binary format for no apparently good
  reason, but, to their credit, they also provide an option to store it
  in a nice, plain text format that is amenable to CVS operations.
 [snip]
 
 H. This information is not accurate. By default, Borland stores it in
 *text* format, not binary, at least since May 2001, when it released 
 Delphi 6. Of course if Mr. Baushke is still using Delphi 5, you're right.
 
 The company I work for have been developing systems using Delphi since
 it's first incarnation, and the forms were all binary. Of course,
 during the migration from Delphi 4 to Delphi 6, I had to create a cvs
 repository to be used as backup repository of all forms in binary
 format, and since we were also migrating from Merant PVCS to CVS, I
 altered the PVCStoCVS perl script to convert every dfm to its text
 format before adding a release of a dfm to its RCS file.
 
 Alexandre.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBNhhv3x41pRYZE/gRAuJpAKCl2N3PsTrITReIB5qPHW+EVglTsgCgmYOM
3DfyyD60lQqoBv+VHyeESVU=
=FtL0
-END PGP SIGNATURE-


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


What does this warning mean?

2004-09-01 Thread Lynch, Harold
Title: What does this warning mean?






cvs checkout: warning: server is not creating directories one at a time

cvs checkout: warning: server is not creating directories one at a time

cvs checkout: warning: server is not creating directories one at a time

cvs checkout: warning: server is not creating directories one at a time

cvs checkout: warning: server is not creating directories one at a time



Harold Lynch



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


Re: What does this warning mean?

2004-09-01 Thread Arthur Barrett
What does this warning mean?Harold,

This was asked on the CVSNT group some time ago, I found this answer by Bo
Berglund:

I asked and was never answered. AFAICT the problem comes up if you
check out a module to a shortened path. Say that you have a sandbox
and now you want to check out a different module as a subdirectory in
it:
cvs co -d Charlie Module1/subdira/subdirb/Charlie
This will get you the contents of the Module1/subdira/subdirb/Charlie
folder into a folder with the name Charlie in the current sandbox.
This structure seems to make the messages mentioned pop up at various
times. I don't have a full analysis on these cases since I just moved
on at the time, though

CVSNT is the default CVS client that comes with WinCVS and TortoiseCVS.  The
server and client are open source and available for Windows/Linux/Unix/Mac
OS X etc etc
http://www.cvsnt.com

Regards,


Arthur Barrett


Lynch, Harold [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
cvs checkout: warning: server is not creating directories one at a time
cvs checkout: warning: server is not creating directories one at a time
cvs checkout: warning: server is not creating directories one at a time
cvs checkout: warning: server is not creating directories one at a time
cvs checkout: warning: server is not creating directories one at a time


Harold Lynch


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


RE: .dfm files check in as text in CVS leads to any corruption?

2004-09-01 Thread Alexandre Augusto Drummond Barroso
Mark, I'm sorry. I've just read the initial post from Paras Jain and  
he is using both Delphi 5 and Delphi 7, and it is a real problem. I don't 
know if there is a problem to abandon Delphi 5 and compile everything with 
Delphi 7. I have experience porting Delphi 4 code to Delphi 6 and we had no
problem in doing it. We converted exact 9132 files (including more than 3000 
dfm files) in a very short period of time using 9 people working part time
on the conversion project. Dispite the conversion being easy, there was
not just client/server forms, but also Windows Services, many classes 
containing very complex business rules and critical mission systems (I work 
for a brazilian bank and everything is done in Delphi).

The most difficult part was COM+ components conversion, but even if he has
a lot of COM+ components, I strongly recomend doing it so it will be possible 
to do parallel work, dfm file merge operations (which is impossible with binary 
forms), among other things. And, of course, configuration management team 
will owe him. 

Alexandre.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark D.
 Baushke
 Sent: Wednesday, September 01, 2004 3:44 PM
 To: Alexandre Augusto Drummond Barroso
 Cc: [EMAIL PROTECTED]; Paras jain
 Subject: Re: .dfm files check in as text in CVS leads to any 
 corruption?
 
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Alexandre,
 
 Just to set the record straight... the original e-mail that 
 started this
 thread may be found here:
 
 http://lists.gnu.org/archive/html/info-cvs/2004-08/msg00124.html
 
 I have no idea as to the version of Borland is being used by Paras
 jain, but it is that person who is/was apparently experiencing
 corruption because the .dfm files were apparently binary.
 
   Enjoy!
   -- Mark
 


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