[Cvsnt] Newbie: How to read history. Login hangs for 1 person
Bo Berglund
bo.berglund at telia.com
Wed Jan 2 19:49:40 GMT 2002
Hello Wolfram,
regarding the history file I also wonder about the exact format of the
timestamps. Can't find anything in Karl Fogels otherwise very good
book (Open Source Development with CVS)...
As an example here are a few neighboring history lines from a test
server I have:
M3c169e79|bosse|<remote>|BosseTest/Nisse|1.2|CopyofBosse.txt
M3c169e79|bosse|<remote>|BosseTest/Nisse|1.2|nissedoc.txt
These two lines are from a commit I did and one may suspect the
following interpretation of the timestamp:
M is a marker telling us that files are modified?
I have found these letters as starting chars of a line:
A, F, M, O, W
Would be interesting to know the meaning of these letters...
3c169e79 might be the 32 bit UNIX time stamp in hex format. In any
case I think it represents a timestamp in seconds from some starting
time. In this case we have 1008115321 seconds = 31.9 years. Since the
log entry was done late last year I think that this confirms that it
is a UNIX timestamp. Unix time starts in 1970 and is 32 bit.
Then follows username of the person doing the commit, how he is
connected, module in which the file resides, new file revision and
finally the filename itself.
Connection problems
You need look no further than the first test. If the machine the
person is using cannot reach the server then all else will fail.
You can test by going to a command prompt and typing in:
ping 195.212.87.218<enter>
If there is no reply from the server then you have a networking
problem on this PC, not a CVS problem. You MUST be able to ping the
server before you can hope to use CVS in pserver mode.
HTH
/Bo
On Wed, 2 Jan 2002 14:02:39 +0000 (UTC), Wolfram Kuss
<Wolfram.Kuss at t-online.de> wrote:
>Hi,
>
>Some time ago I set up a cvsnt server on a Win2k machine. First of
>all, how can I read the history file? It is only partly human
>readable, for example at the beginning of each line there is a strange
>string that may be the date and time in some code? If I understand
>correctly, under Linux, there is a program that displays the history
>file?
>
>Also, 1 person has problems logging in. He gets a timeout. All other
>persons, including me, have no such problems. Here is his description,
>starting with the putput from a WinCVS 1.2 session. The first error
>seems to be unconnected to CVS IMHO, and means the Internet connection
>is bad.
>
>------------ snip -------------------------
>
>
>"-cvs -d :pserver:chronus at 195.212.87.218:c:/cvs login
>(Logging in to chronus at 195.212.87.218)
>-cvs [login aborted]: connect to 195.212.87.218:2401 failed: No route
>to
>host
>
>*****CVS exited normally with code 1*****
>
>-cvs -d :pserver:chronus at 195.212.87.218:c:/cvs login (in directory
>D:\wincvs\WinCvs120)
>(Logging in to chronus at 195.212.87.218)
>-cvs [login aborted]: connect to 195.212.87.218:2401 failed:
>Connection
>timed out
>
>*****CVS exited normally with code 1*****"
>
>CVS seems to hang, and three or four minutes pass by until I finally
>get an
>answer to my attempted connection.
>
>I'm sure that I did everything the right way, so I wonder if this
>isn't some
>kind of issue with different versions. Another thing, a friend of mine
>who
>has worked with CVS said there were patches and some issues with
>these. I
>have no problems connecting to the Falcon 4 Unified Team
>forum/site/test
>files server, I do so by means of login and password also.
>--------------- snip -----------------------------
>
>If you need more info, tell me.
>
>Keep up the good work!
>
>Bye bye,
>Wolfram Kuss.
>_______________________________________________
>Cvsnt mailing list
>Cvsnt at cvsnt.org
>http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list