info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NT win-CVS cvs 1.11 vs CVS cvs 1.11 under cygwin ( and emacs)


From: Richard Burns
Subject: Re: NT win-CVS cvs 1.11 vs CVS cvs 1.11 under cygwin ( and emacs)
Date: Thu, 06 Sep 2001 08:57:52 -0700

Hi Mark, thanks for the reply.

Here is my "cvs -t login" from the cygwin side. Note, I redirected this to a file ( 2> foo) as there
are ^M characters in the output stream that are not otherwise visible (and actually mess up the
cygwin command line output). In emacs if i edit foo, the ^M's are visible.

---------------------------------------------------------------------------------
cvs login: notice: main loop with CVSROOT=:pserver:address@hidden:/apps/dovetail/source_repos

CVS password:
cvs login: authorization failed: server pf1d4.tcpl.ca rejected access to /apps/dovetail/source_repos
 for user richard_burns
----------------------------------------------------------------------------------


this is how it appears inside the cygwin "console" window (******* marks the \r effect) if id don't capture the
output with redirection.

----------------------------------------------------------------------------------
$ cvs -t login
cvs login: notice: main loop with CVSROOT=:pserver:address@hidden:/apps/dovetail/source_repos
(Logging in to address@hidden)
CVS password:
 for user richard_burnsn failed: server pf1d4.tcpl.ca rejected access to /apps/dovetail/source_repos
********************
------------------------------------------------------------------------------------------------------

Here is the same -t applied to the WIN-CVS  client cvs.exe

---------------------------------------------------------------------------------------------------------
$ "c:/Program Files/Gnu/WinCvs 1.2/cvs" -t login
cvs.exe login: notice: main loop with CVSROOT=:pserver:address@hidden:/apps/dovetail/source_repos
(Logging in to address@hidden)
CVS password:
---------------------------------------------------------------------------------------------------------


This above login works, because if I follow it with a commit, it works ( incidentally it brings up emacs to
capture the comment on the commit ( probably because in WIn CVS i identified emacs as my editor for
double clicks in the 'explorer' clone), rather than a command line prompt for the comment info

------------------------------------------------------------------------------------
$  "c:/Program Files/Gnu/WinCvs 1.2/cvs" commit MyFile
Checking in DoTableSetCheckExpirySql.sh;
/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v  <--  MyFile
new revision: 1.7; previous revision: 1.6
done
--------------------------------------------------------------------------------------

 

For completeness, here is the above commit with -t turned on.
 

 
--------------------------------------------------------------------------------------------------------------
$  "c:/Program Files/Gnu/WinCvs 1.2/cvs" -t commit MyFile
cvs.exe commit: notice: main loop with CVSROOT=:pserver:address@hidden:/apps/dovetail/source_repos
-> system('emacs' '"\2"')
-> unlink(\2)
 -> Sending file `MyFile' to server
S-> checkout (/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v, 1.7, , (function))
 -> ParseInfo(/apps/dovetail/source_repos/CVSROOT/commitinfo, Dovetail/dev/database/UnixScripts/CountsAndSummations, ALL)
 -> ParseInfo(/apps/dovetail/source_repos/CVSROOT/verifymsg, Dovetail/dev/database/UnixScripts/CountsAndSummations, not ALL)
S-> unlink(/tmp/cvsAAA5TaGOe)
Checking in MyFile;
/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v  <--  MyFile
S-> checkout (/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v, 1.7, -ko, /tmp/cvsBAA6TaGOe)
new revision: 1.8; previous revision: 1.7
S-> rename(/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/,MyFile,,/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v)
S-> unlink(/tmp/cvsBAA6TaGOe)
S-> unlink(/tmp/cvsCAA7TaGOe)
S-> checkout (/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v, , , (function))
done
S-> checkout (/apps/dovetail/source_repos/Dovetail/dev/database/UnixScripts/CountsAndSummations/MyFile,v, , , MyFile)
S-> chmod(MyFile,100666)
S-> server_register(MyFile, 1.8, Thu Sep  6 15:41:34 2001, , , , )
S-> Register(MyFile, 1.8, Thu Sep  6 15:41:34 2001, ,  )
S-> fopen(/apps/dovetail/source_repos/CVSROOT/history,a)
-> rename(.new.MyFile,MyFile)
-> unlink(CVS/Base/MyFile)
-> Register(MyFile, 1.8, Thu Sep 06 15:41:33 2001, ,  )
 -> ParseInfo(/apps/dovetail/source_repos/CVSROOT/loginfo, Dovetail/dev/database/UnixScripts/CountsAndSummations, ALL)
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink(CVS/Entries.Log)
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink(CVS/Entries.Log)
--------------------------------------------------------------------------------------------------------------------------------------
 
So, any thoughts on this?
All comments gratefully read.
Copying my win-cvs cvs.exe into my cygwin paths  ahead of the default cygwin cvs.exe will work,
but it just doesn't seem right somehow.

...Richard
 

"Harig, Mark A." wrote:

I have a very similar setup to what you have.  I use WinCvs from
time-to-time, NTEmacs, and Cygwin (cvs and otherwise).  It all works
well for me.  I am able to have cvs talk between NT and Linux on our
local network (using 'rsh/ssh' access method), and I have downloaded the
source files from the cvs repository at Cygwin, using the :pserver:
access method.  So, the problem is NOT with the Cygwin version of CVS,
for what it's worth.  What would be helpful would be for you to provide
the 'trace' option to cvs, i.e., '-t'.  So, you might try 'cvs -t login'
at your bash shell prompt to diagnose the problem.  If you're not able
to see the reason for the difficulty, try posting the output to the
mailing list to see if anyone has any ideas.

good luck!

-----Original Message-----
From: Richard Burns [mailto:address@hidden]
Sent: Wednesday, September 05, 2001 7:03 PM
To: address@hidden
Subject: NT win-CVS cvs 1.11 vs CVS cvs 1.11 under cygwin ( and emacs)

I have two versions of cvs on my nt box that has cygwin on it.
one version ( that came with cygwin) shows the following when I ask "-v"

------------------------------------------------------------------------
----------
$ cvs -v

Concurrent Versions System (CVS) 1.11 (client/server)

Copyright (c) 1989-2000 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
------------------------------------------------------------------------
----------
 

The other version, that came with win-cvs 1.2 shows the following when
asked the same question:
 

------------------------------------------------------------------------
----------
$ "c:/Program Files/Gnu/WinCvs 1.2/cvs" -v

Concurrent Versions System (CVS) 1.11 (client)

Copyright (c) 1989-2000 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
------------------------------------------------------------------------
----------

Obviously, the cygwin version is client/server and the win-cvs version
is just a client, however they bear the
same release number ( 1.11).

My problem is, that under cygwin a "cvs login" always fails where as the
command
 "c:/Program Files/Gnu/WinCvs 1.2/cvs" login
( as quoted above to preserve spaces ) succeeds  as does commit etc.

I only discovered this after trying to unravel why my emacs started in
cygwin always died using
c-x c-q on files that had not yet been committed under win-cvs.
 

My reason for posting this here is to try and get some clarity around
what I should be doing.
Should i just copy "the working" win-cvs cvs.exe over my cygwin path'd
one? ( yeah I know I lose the
'server' ability --- part of my reluctance) or is there a better
client/server version that works
sympathetically  with the win-cvs one when I am in "NT" mode?

Finally, does anyone have a link to some good advice on NT / cygwin /
emacs / cvs usage?

If it helps, consider me a longtime unix / emacs /  rcs user
struggling in an NT / cvs world.
... richard

P.S. I am not on the mailing list itself, so direct replies are
appreciated.
address@hidden
..r
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]