Re: Question about CVS-SSH

2005-06-13 Thread Asbjørn Sæbø
On Fri, Jun 10, 2005 at 02:23:03PM -0400, Huaer XC wrote:
> Dear CVS users:
> 
> I am a newbie in this field. And I am trying to setup CVS on a Linux
> Mandrake server, and maintain my codes through SSH by different PCs
> including Win-XP and Linux system. (I followed a instruction on the
> following link:
> http://mariner.cs.ucdavis.edu/slackware/doc/applications/cvs-over-ssh.txt)
> 
> Now I did the following things in my server. 
> 1) I have setup CVSROOT in my account "/home/cvs", and a repository
> named "ABC" has been imported.

Since CVS is a server thing, I prefer to have the repository installed 
somewhere else than in my home directory.  (Typically I choose 
/local/cvs or something like that.)

> [...]

> After I re-login to the remote workstation, and run:
> cve checkout ABC
> It return the following error info: 
> cvs [checkout aborted]: Cannot check out files into the repository itself

Is your home directory shared between your server and the workstation?

The error message seems to indicate to me that you are trying to check 
out a copy of the repository and placing the checked out copy in the 
repository itself.

Try placing the repository somewhere else, away from  your home 
directory.

Asbjørn



___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Question About CVS

2005-02-07 Thread Larry Jones
Jacky Cheang writes:
> 
> Does it update to the server via HTTP or FTP connections?

No.  Remote access is via a remote command facility like rsh or ssh, or
a proprietary protocol (pserver).  Of those, only ssh is recommended for
use across the public internet.  I believe the current feature release
of CVS has some provisions for using an HTTP proxy server to traverse
firewalls, but I don't know the details.

-Larry Jones

It must be sad being a species with so little imagination. -- Calvin


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Question about CVS on Windows NT

2002-04-29 Thread Nicolas PEZRON

Hi everybody,

it's ok for my configuration of WinCVS !
The solution of Larry Jones was the good, it was
effectly the "/" at the end of my CVSROOT in WINCVS
which has caused me so much problems...
I would like to thank you very much for the help you
gave me, and especially Matt for the patience he had
with me...
Have a good day

Nicolas.


**

=?iso-8859-1?q?Nicolas=20PEZRON?= writes:
> 
> so I have configured my inetd.conf file on the
server,
> this is the line I have added to it :
> "#CVS server
> cvspserver stream tcp nowait root /opt/cvs/bin/cvs
cvs
> -f --allow-root=/cvs/CIDRE/CVSROOT pserver"
[...]
> so, I should be able to connect to the server with
the
> user int because I have configured my CVSROOT on my
> WinCVS client like this : 
> ":pserver:int@cidre:/cvs/CIDRE/"

The stuff after the last : (/cvs/CIDRE/) must
*exactly* match an
--allow-root option of the pserver, which it doesn't. 
I suspect they
should both be /cvs/CIDRE (having a trailing slash can
cause problems).

-Larry Jones

I'll be a hulking, surly teen-ager before you know
it!! -- Calvin




___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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



Re: Question about CVS on Windows NT

2002-04-26 Thread Larry Jones

=?iso-8859-1?q?Nicolas=20PEZRON?= writes:
> 
> so I have configured my inetd.conf file on the server,
> this is the line I have added to it :
> "#CVS server
> cvspserver stream tcp nowait root /opt/cvs/bin/cvs cvs
> -f --allow-root=/cvs/CIDRE/CVSROOT pserver"
[...]
> so, I should be able to connect to the server with the
> user int because I have configured my CVSROOT on my
> WinCVS client like this : 
> ":pserver:int@cidre:/cvs/CIDRE/"

The stuff after the last : (/cvs/CIDRE/) must *exactly* match an
--allow-root option of the pserver, which it doesn't.  I suspect they
should both be /cvs/CIDRE (having a trailing slash can cause problems).

-Larry Jones

I'll be a hulking, surly teen-ager before you know it!! -- Calvin

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



Re: Question about CVS on Windows NT

2002-04-26 Thread Nicolas PEZRON

> > when I try to connet to the CVS server, I have the
> > following error :
> > "cvs login: authorization failed: server cidre
> > rejected access to /cvs/CIDRE/ for user int"

> You need to configure passwords on the server, not
> the client. See the
> manual for details:
>


ok
so I have configured my inetd.conf file on the server,
this is the line I have added to it :
"#CVS server
cvspserver stream tcp nowait root /opt/cvs/bin/cvs cvs
-f --allow-root=/cvs/CIDRE/CVSROOT pserver"
I have also created a passwd file in my
$CVSROOT/CVSROOT folder, this is my passwd file :
"int:"
so, I should be able to connect to the server with the
user int because I have configured my CVSROOT on my
WinCVS client like this : 
":pserver:int@cidre:/cvs/CIDRE/"
but I have always the following message :
"cvs login: authorization failed: server cidre
 rejected access to /cvs/CIDRE/ for user int"

could you help me please, I begin to discourage myself
thank you very much and thank you for your previous
answers

Nicolas.


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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



Re: Question about CVS on Windows NT

2002-04-26 Thread Nicolas PEZRON

 
Hi,

finally, I have decided to use WinCVS as a client and
a server Unix as a CVS server
when I try to connet to the CVS server, I have the
following error :
"cvs login: authorization failed: server cidre
rejected access to /cvs/CIDRE/ for user int"
I don't know how to configure the passwords
there is a menu in "Admin" which is "WinCVW" and there
is a place to put the folder for the passwords
I don't know what to put here
thank you very much for you answer

Nicolas. 


--- Matt Riechers <[EMAIL PROTECTED]> a
écrit : > Nicolas PEZRON wrote:
> > 
> > may I stock Windows files in my CVS tree on Unix
> or do
> > I have to use a version of CVS for Windows ? (I
> tried
> > to see for WinCVS but if I can use CVS on Unix, it
> > will be better for me)
> 
> If it is easy for you to get at files on the UNIX
> box from Windows, then
> you don't necessarily need WinCVS. In that case, you
> should make sure
> that your Windows editor doesn't change the file
> line endings to DOS
> format. If that's a big problem, you might be better
> off with using
> WinCVS.
> 
> > I have also heart about cvs on windows but with a
> unix
> > cvs server, how does it work ?
> 
> http://www.cvshome.org/docs/manual/cvs_2.html#SEC26
> 
> -Matt 

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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



Re: Question about CVS on Windows NT

2002-04-26 Thread Matt Riechers

Nicolas PEZRON wrote:
> 
> so I have configured my inetd.conf file on the server,
> this is the line I have added to it :
> "#CVS server
> cvspserver stream tcp nowait root /opt/cvs/bin/cvs cvs
> -f --allow-root=/cvs/CIDRE/CVSROOT pserver"

Make sure you have an entry in /etc/services like:

cvspserver  2401/tcp

> I have also created a passwd file in my
> $CVSROOT/CVSROOT folder, this is my passwd file :
> "int:"

This looks ok.

> so, I should be able to connect to the server with the
> user int because I have configured my CVSROOT on my
> WinCVS client like this :
> ":pserver:int@cidre:/cvs/CIDRE/"

The entry in inetd.conf says that your repository path is
"/cvs/CIDRE/CVSROOT", while your $CVSROOT is set to "/cvs/CIDRE/"; they
have to be the same. I'm guessing you want to remove the extra "CVSROOT"
from your inetd.conf.

Good luck.

-Matt

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



Re: Question about CVS on Windows NT

2002-04-26 Thread Matt Riechers

Nicolas PEZRON wrote:
> 
> finally, I have decided to use WinCVS as a client and
> a server Unix as a CVS server
> when I try to connet to the CVS server, I have the
> following error :
> "cvs login: authorization failed: server cidre
> rejected access to /cvs/CIDRE/ for user int"
> I don't know how to configure the passwords
> there is a menu in "Admin" which is "WinCVW" and there
> is a place to put the folder for the passwords
> I don't know what to put here

You need to configure passwords on the server, not the client. See the
manual for details:


-Matt

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



Re: Question about CVS on Windows NT

2002-04-25 Thread Matt Riechers

Nicolas PEZRON wrote:
> 
> may I stock Windows files in my CVS tree on Unix or do
> I have to use a version of CVS for Windows ? (I tried
> to see for WinCVS but if I can use CVS on Unix, it
> will be better for me)

If it is easy for you to get at files on the UNIX box from Windows, then
you don't necessarily need WinCVS. In that case, you should make sure
that your Windows editor doesn't change the file line endings to DOS
format. If that's a big problem, you might be better off with using
WinCVS.

> I have also heart about cvs on windows but with a unix
> cvs server, how does it work ?

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

-Matt

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



Re: Question about CVS checkout vs. RCS

2001-09-15 Thread Larry Jones

[EMAIL PROTECTED] writes:
> 
> My company is looking into CVS as a replacement for RCS.  We currently have perl
> scripts set up to customize the RCS commands to our configuration:  when I check
> out in RCS, using the scripts, the resulting module does not include the ',v' in
> the filename, or the symbolic tag information housed in the archive file.  When
> I use the CVS checkout command, the module I end up with matches the file in the
> repository, i.e. it has the ',v' and the tag info.

That sounds like you imported (with "cvs import") your RCS files.  You
should copy the RCS files into your CVSROOT directory instead.  See:

http://www.cvshome.org/docs/manual/cvs_3.html#SEC41

-Larry Jones

Temporary insanity!  That's all it was! -- Calvin

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



Re: Question about CVS checkout vs. RCS

2001-09-14 Thread Kaz Kylheku

In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Dear folks,
>
>My company is looking into CVS as a replacement for RCS.  We currently have perl
>scripts set up to customize the RCS commands to our configuration:  when I check
>out in RCS, using the scripts, the resulting module does not include the ',v' in
>the filename, or the symbolic tag information housed in the archive file.  When
>I use the CVS checkout command, the module I end up with matches the file in the
>repository, i.e. it has the ',v' and the tag info.

You must be doing something obtuse, like checking RCS ,v files into the
repostiory. Or maybe you tried to recursively import a repository module
into itself? This leads to ever lengthening chains of ,v,v,v,v suffixes.
The only solution then is to erase the whole mess and do it properly.

With CVS, the repository lives in a different place from the working
files. Its location is specified by an environment variable, or using
a command-line option. It can be in a distant directory, or on another
machine completely.

>I'm brand new to CVS, and not that old a hand at RCS, so pardon the naivete
>please.  Is there something in the website or the Cedarqvist that tells how to
>get around this behavior?

There is nothing that describes how to *get* this behavior.

You are best to learn how to use CVS properly from scratch.

It's possible to take RCS ,v files and manually add them to a CVS
repository. Thereby an RCS project can be converted directly to a CVS one.
I did that long ago with a few programs.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Question about CVS checkout vs. RCS

2001-09-14 Thread James Youngman

[EMAIL PROTECTED] writes:

>  Dear folks,
> 
> My company is looking into CVS as a replacement for RCS.  We currently have perl
> scripts set up to customize the RCS commands to our configuration:  when I check
> out in RCS, using the scripts, the resulting module does not include the ',v' in
> the filename, or the symbolic tag information housed in the archive file.  When
> I use the CVS checkout command, the module I end up with matches the file in the
> repository, i.e. it has the ',v' and the tag info.
> 
> I'm brand new to CVS, and not that old a hand at RCS, so pardon the naivete
> please.  Is there something in the website or the Cedarqvist that tells how to
> get around this behavior?  Our build expect the current version (or the tagged
> version), not the whole enchilada.
> 
> This is a showstopper for our project -- any help you can give us would be
> appreciated!

You have not provided enough information for us to be able to help
you.   

What commands did you issue?
What did you expect to happen?
What did happen?
What did you want to happen?
What was the exact text of any error message?

Details PLEASE!

-- 
James Youngman
Manchester, UK.  +44 161 226 7339
PGP (GPG) key ID for <[EMAIL PROTECTED]> is 64A95EE5 (F1B83152).

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



Re: Question about CVS

2001-06-06 Thread Torbjörn Axelsson

Cheng Ie-Sun <[EMAIL PROTECTED]> writes:

> Got 2 questions regarding CVS
> 1. Is it possible to limit the number of revisions that CVS creates?
> ie. 5 revisions, 1.1x, 1.2x, 1.3x, 1.4x and 1.5x
> 2. Is it possible to remove the old revisions
> ie. remove revisions 1 tru 49 and just leave revision 50 and 51 from a 51 
>revision file
> 
> Appreciate your help.
> Thanks


1. Not unless you stop checking in changes.
   As noted just about any time anyone asks anything about revisions
   on this list: Revision numbers are the magic smoke that make CVS
   work, mess with them and CVS will no longer do its work reliably.
   Do not confuse revision numbers and releases, more details on this
   issue at http://cvshome.org/docs/manual/cvs_4.html#SEC44>.

2. This question is mostly just a matter of saving disk space and if
   you really are that bad off on disk space, go ahead using 'cvs
   admin -o' as described in
   http://cvshome.org/docs/manual/cvs_16.html#SEC119>.
   Note that this is a really dangerous operation and really only
   worth doing if you are handling large binary files (these tend to
   be real space hogs).

Good luck
/Torbjörn

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



Re: question about cvs!

2001-05-30 Thread wangc

I have downloaded a version of cvs for solaris 2.5.1 and now it works
Thanks,
wangc


- Original Message - 
From: "Donald Sharp" <[EMAIL PROTECTED]>
To: "wangc" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 9:40 PM
Subject: Re: question about cvs!


> Your using a version of cvs that is compiled for a later version( 2.6,2.8? )
> of solaris than what you are using.
> 
> Get the source and compile.
> 
> donald
> On Tue, May 29, 2001 at 10:51:44AM +0800, wangc wrote:
> > hi,
> > I just want to use cvs for a project's version control.And now
> > I have installed the cvs1.11p1 on a sun workstation(Solaris 2.5.1) as
> > cvs server and Wincvs on my PC(win98) as a client.But there are some 
> > errs.The Wincvs show this hint :
> > 
> > ld.so.1: cvs: fatal: relocation error: symbol not found: setsockopt: referenced in 
>cvs
> > 
> > I dont know the reason!
> > 
> > Thanks for your help!
> > 
> > 
> 
ú¾ÉšŠX§‚X¬´‰ß¡Ëì‚{¨®m¶Ÿÿ™¨¥‚{¨®æj)fjåŠËbú?Šwèrû


Re: question about cvs!

2001-05-29 Thread Donald Sharp

Your using a version of cvs that is compiled for a later version( 2.6,2.8? )
of solaris than what you are using.

Get the source and compile.

donald
On Tue, May 29, 2001 at 10:51:44AM +0800, wangc wrote:
> hi,
> I just want to use cvs for a project's version control.And now
> I have installed the cvs1.11p1 on a sun workstation(Solaris 2.5.1) as
> cvs server and Wincvs on my PC(win98) as a client.But there are some 
> errs.The Wincvs show this hint :
> 
> ld.so.1: cvs: fatal: relocation error: symbol not found: setsockopt: referenced in 
>cvs
> 
> I dont know the reason!
> 
> Thanks for your help!
> 
> 

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



Re: Question about CVS

2001-03-27 Thread Gerhard Sittig

On Tue, Mar 27, 2001 at 14:29 +0200, Stephane BURKEL wrote:
> 
> I have install CVS 1.9 on my station with HP-UX B.11.00.

Does this version of CVS use the external RCS commands or does it
bring their functionality with it?  See the doc on this.

> But when I run this command: "cvs -d /usr/local/cvsroot init",
> I have an error message:
>   "ci error: unknown option: -x,v/
>ci aborted"
> The command "man cvs" inform me that thse options don't exist.

Look at the message, please, and look closer.  ci(1) is
complaining.  Check your "man 1 ci" documentation and search for
the -x option.  You may have to update your *RCS* program suite.


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" [EMAIL PROTECTED]
-- 
 If you don't understand or are scared by any of the above
 ask your parents or an adult to help you.

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



Re: Question about CVS

2001-03-27 Thread Larry Jones

Stephane BURKEL writes:
> 
> I have install CVS 1.9 on my station with HP-UX B.11.00.
> But when I run this command: "cvs -d /usr/local/cvsroot init",
> I have an error message:
>   "ci error: unknown option: -x,v/
>ci aborted"

You have an ancient version of CVS along with a prehistoric version of
RCS.  Upgrading to the current release of CVS (1.11), which you can get
from www.cvshome.org, will solve this problem.

-Larry Jones

OK, what's the NEXT amendment say?  I know it's in here someplace. -- Calvin

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