[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RCS bugs in Windows port?? - Second part
From: |
Davide Montesin |
Subject: |
RCS bugs in Windows port?? - Second part |
Date: |
Wed, 03 Apr 2002 17:28:24 GMT+02:00 |
Message-Id: <address@hidden>
Content-Type: text/plain; charset=us-ascii
Hi,
today I wrote an email to tell two bugs
in the rcs in the Windows port.
For the second, the problem with substring
that are left after a check in, I can repeat the problem.
If I commit two version of a text file I
obtain by co a wrong file not like the committed.
I have noted this problems if file have a unix
end of line, that is a \n; I they have a Windows/DOS
end of line \r\n this problem seem not exists!
Suppose you start with this file a.txt (with unix eol):
* Attached PL/SQL Libraries
----------
* Name VTF_MINORXML
- Comments
* PL/SQL Library Source File
* PL/SQL Library Location vtf_minorxml
----------
* Name VTF_STD61LIB
- Comments
* PL/SQL Library Source File
* PL/SQL Library Location VTF_std61lib
----------
* Name F6I_DSEFORMS_V2
- Comments
* PL/SQL Library Source File
* PL/SQL Library Location F6i_DSEForms_v2
and run the command:
ci -d -u -x,v "c:\rcsprove\a.txt" "c:\rcsprove\RCS\a.txt,v"
then relock the file:
co -M -l -x,v "c:\rcsprove\a.txt" "c:\rcsprove\RCS\a.txt,v"
change the a.txt with (with unix eol):
* Attached PL/SQL Libraries
----------
* Name F6I_DSEFORMS_V2
- Comments
* PL/SQL Library Source File
* PL/SQL Library Location F6i_DSEForms_v2
----------
* Name VTF_MINORXML
- Comments
* PL/SQL Library Source File
* PL/SQL Library Location vtf_minorxml
----------
* Name VTF_STD61LIB
- Comments
* PL/SQL Library Source File
* PL/SQL Library Location VTF_std61lib
then I check in the second version:
ci -d -u -x,v "c:\rcsprove\a.txt" "c:\rcsprove\RCS\a.txt,v"
Now If I check it with rcsdiff:
rcsdiff --side-by-side --suppress-common-lines -x,v "c:\rcsprove\a.txt"
"c:\rcsprove\RCS\a.txt,v"
Surprise, I obtain a different file:
RCS file: c:\rcsprove\RCS\a.txt,v
retrieving revision 1.2
diff --side-by-side --suppress-common-lines -r1.2 c:\rcsprove\a.txt
ile <
* PL/SQL Library Location VTF_std \ * PL/SQL
Library Location VTF_std6
Exit code: 1
Even If I make a co of the file, the content is corrupt!
There is a bug? It is possible to automatically convert
a unix like text file into a windows-like text file
befor to check in?
Thanks in advance.
Davide.
address@hidden
- RCS bugs in Windows port?? - Second part,
Davide Montesin <=