[cvsnt] CVSNT and Diff problems - PLEASE HELP !
Damien Harper
harperd at keops.net
Mon Oct 28 15:03:04 GMT 2002
Hi all,
I'm quite used to use CVS on Linux and I get some troubles making CVSNT work
properly !
I installed it on a Windows 2000 Server with almost no troubles (just had a
problem with spaces in PATH).
Then:
1. I created a repository and initialized it.
2. I created a module TestCVS : everything went OK
3. I added and commited a text file test.txt (cvs -q -x add test.txt then
cvs -q -x commit -m "blabla" test.txt) : everything went OK
4. I modified and commited it : everything went OK
5. I ran rcsdiff -p --unified=3 -r1.1 -r1.2 "/repository/test.txt,v" : CVSNT
told me that everything is different
6. I modified and commited the file again : everything went OK
7. I ran rcsdiff -p --unified=3 -r1.1 -r1.3 "/repository/test.txt,v" : CO
told me that "edit script refers to line past end of file" then "co aborted"
8. I ran rcsdiff -p --unified=3 -r1.2 -r1.3 "/repository/test.txt,v" : CVSNT
told me that everything is different
I made EXACTLY the same manipulation on my CVS server on my linux box and
EVERYTHING was OK
So what's the problem ??? Why are there such differences.
I tried to find why I got such troubles and I discovered:
On my W2K Server box:
the RCS file looks like
----------------- test.txt,v ------------------
head 1.3;
access;
symbols;
locks; strict;
comment @# @;
1.3
date 2002.10.28.13.19.53; author HarperD; state Exp;
branches;
next 1.2;
1.2
date 2002.10.28.13.18.58; author HarperD; state Exp;
branches;
next 1.1;
1.1
date 2002.10.28.13.17.58; author HarperD; state Exp;
branches;
next ;
desc
@@
1.3
log
@Société
@
text
@Damien
Harper
KEOPS InfoCentre
@
1.2
log
@Nom
@
text
@d1 3 <---- Look at these values
@
1.1
log
@Prénom
@
text
@d1 2 <---- Look at these values
@
----------------- end of test.txt,v ------------------
On my linux box, it looks like
----------------- test.txt,v ------------------
head 1.3;
access;
symbols;
locks; strict;
comment @# @;
1.3
date 2002.10.28.13.19.53; author HarperD; state Exp;
branches;
next 1.2;
1.2
date 2002.10.28.13.18.58; author HarperD; state Exp;
branches;
next 1.1;
1.1
date 2002.10.28.13.17.58; author HarperD; state Exp;
branches;
next ;
desc
@@
1.3
log
@Société
@
text
@Damien
Harper
KEOPS InfoCentre
@
1.2
log
@Nom
@
text
@d3 1 <---- Look at these values
@
1.1
log
@Prénom
@
text
@d2 1 <---- Look at these values
@
----------------- end of test.txt,v ------------------
If you have a look at the lines I flagged "<---- Look at these values", you
can see that the values are swapped :
on w2k : @d1 2 and @d1 3
on Linux: @d2 1 and @d3 1
If I manually swap these values in the RCS file on w2k, it work and the
rcsdiff command give me the good results (what really change from one
version to another)
I have no idea why CVSNT doesn't work and I hope someone will help me!
Thanks
Damien Harper: harperd at keops.net
More information about the cvsnt
mailing list