Re: CVS Question

2001-03-27 Thread Szabó Tamás

By specifing the file as a parameter

$cvs co filename

Tamas


Richard Abbott wrote:
 
 Maybe this is a silly question, but is there any way to check out a single
 file that is in a module (rather than the whole module)?
 
 - Rich
 
 ___
 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: files mode 001 in repository

2001-03-20 Thread Szabó Tamás

Hi!

Francesc Guasch wrote:
 
 Hi. I got a problem. When a file is created in the repository,
 its permissions are 001, so it fails locking and crashes.

Try to set the CVSUMASK variable.
The permisions of directory and files created in the repository should
be controlled by this variable.

See 2.2.2 File permissions in the Cedreqvist manual.

Tamas
 
 I checked the user umask and it's fine. Where else can I look.
 I tried to do chmod g+s to the directory but it didn't help.
 
 I'm stuck. Where can I research further ? Thank you very much.
 
 --
  - frankie -
 
 ___
 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: Another time question

2001-03-20 Thread Szabó Tamás

If I'm right then the time is always used to determine if the file is
modified.
The timestamp of the file is compared to the timestamp saved in the
Entries file.

But if you didn't change the file, you only "touch" it and try to commit
then the file will not be really commited. 

Tamas


Annette Waters wrote:
 
 Could you please explain how the time is used by CVS. Is it used to
 determine if a file has changed? Or, does it always look at the contents of
 the files to determine changes?
 
 ___
 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: cvs server with different names

2001-03-20 Thread Szabó Tamás

Hi!

 where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
 remember my old setting and refuse the new CVSROOT. Is there any way to
 get around this? Thanks in advance!

Try to ping xxx.xxx.xxx.xxx.
Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
it uses.

Can you do this things?

Tamas

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



Re: cvs server with different names

2001-03-20 Thread Szabó Tamás


Yes it does.
You can override that only with the -d global parameter.

In WinCVS 1.2(maybe in earlier releases too I don't know) the .cvsrc
file is supported.
So you had to put in your $HOME directory a file .cvsrc
And write in it:

cvs -d :pserver:[EMAIL PROTECTED]:/path/to/repository

When you are at work simply rename the file.

Tamas



Aaron Lee wrote:
 
 I did, the IP is working and the telnet is working, if you look under
 the CVS directory they have 3 files: Root, Entries and Repository. The
 Root file actually contains a line saying
 :pserver:alee@cvsserver:/home/cvs and I suspect wincvs is using this
 line instead of the CVSROOT in the preference setting.
 -Aaron
 
 -Original Message-
 From: Szab Tams [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 20, 2001 11:27 AM
 To: Aaron Lee; [EMAIL PROTECTED]
 Subject: Re: cvs server with different names
 
 Hi!
 
  where xxx.xxx.xxx.xxx is the IP address of cvsserver but wincvs still
  remember my old setting and refuse the new CVSROOT. Is there any way
 to
  get around this? Thanks in advance!
 
 Try to ping xxx.xxx.xxx.xxx.
 Try to telnet to xxx.xxx.xxx.xxx's 2401 port. If this is the port that
 it uses.
 
 Can you do this things?
 
 Tamas

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



Re: cvs server with different names

2001-03-20 Thread Szabó Tamás

 That's exactly what's happening, and it's the way it's supposed to
 work.  CVS uses the Root file to find the repository that the files
 came from.  If you want to use the same IP address for both locations
 just use the "long form" (xxx.xxx.xxx.xxx) in both places.

Probably that won't work because on the internal network I guess he is
using a reserved ip and from home he uses a real ip.

 Alternatively you can change the Root files (a bad idea) or check out a
 new copy when you're remote (which probably is not what you want to
 do).

Or he could set up $HOME/.cvsrc like 

cvs -d :pserver:[EMAIL PROTECTED]:/path/to/repository

the -d parameter overrides CVS/Root.

Tamas

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



Revision numbers

2001-03-19 Thread Szabó Tamás

Hi!

Just from curiosity...

I wondering when will a revision number of form n.m change to the form
n+1.1  ?

If I'm not using 

cvs co -r n+1.1 

is there another case in which CVS will change a revision number from
n.m to n+1.1 ?

I guess it must be at least one case when m reaches the maximum
number of datatype on which is stored.(32 bits?)
But is there another possibility too?

Thanks in advance,
Tamas

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



Merge algorithm

2001-03-19 Thread Szabó Tamás

Hi!

I got another question...

Is the merge algorithm used by CVS documented somewhere?
I would really appreciate if someone could point me to it.

Thanks in advance,
Tamas

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



Terminated with fatal signal 11

2001-02-20 Thread Szabó Tamás

Hi!

I connected with two cvs users to a remote repository via the
pserver method.
Both of them checks out a working copy.

User1 makes some changes and commits. He make these actions more than
once( in my case three times).
After that User2 makes some changes too and he wants to commit. I get
the following error messages:

cvstest.txt: owner mismatch between 1.5 and working file
cvstest.txt: group mismatch between 1.5 and working file
Terminated with fatal signal 11

As you seen the modified file was cvstest.txt and the owner and group
didn't match because I was commiting before with the other user.
However I think that the first to messages are just warnings. Or not?
Perhaps I could avoid them if I put the users in the same group and
modify the ownership of the files from the project?

But the Terminated with fatal signal 11 makes me crazy.

If somebody knows what could cause this error please write me.
Any help would be very appreciated.

Thanks in advance
Tamas

p.s. I tested the messages with linux cvs clients and wincsv clients
too. In both cases the result is the same...described above.


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