mainSavannah Administration - Support: sr #106393, Using CVS for files with Character...

 
 

sr #106393: Using CVS for files with Character ASCII

Submitter:  None
Submitted:  Mon 09 Jun 2008 02:32:42 PM UTC
   
 
Category:  Source code repositories - anonymous access Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Beuc
Originator Email:  -email is unavailable- Operating System:  GNU/Linux
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Jun 2008 09:19:39 PM UTC, comment #1: 

Hi,

Using SUB is considered binary by CVS, so you can't use it directly in text files.

Your alternatives are:

- Use exclusively GNU/Linux: I tested locally under Debian, and CVS has no problem with your file, since no ascii conversions are necessary.

- find a way to specify SUB using an escape sequence in your language (in C, that would be 0x1a)

You can also ask -email is unavailable- which discusses CVS issues independently of Savannah :)

Sylvain Beucler <Beuc>
Mon 09 Jun 2008 02:32:42 PM UTC, original submission:  

Hi,
I'm using CVS to control a set of text files. Some of these files have the character SUB (ctl-Z, Hex-> 1A, Unicode->SUB). Then, when I add the file into the repository and after that I check out the module, the text of the file is removed from the character "SUB" to the final of the file. What could I do to resolve this? If I consider the file as a binary file, it works, but I can not consider these files as binary because I need to see the differences between two versions. The file is attached.

Thank you for your attention.
Best regards
Álvaro

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #15824:  bo0422sb.cbl added by None (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by Beuc (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-09 Beuc Assigned toNone Beuc
        Open/ClosedOpen Closed
    2008-06-09 Beuc StatusNone Done
    2008-06-09 None Attached File- Added bo0422sb.cbl, #15824

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code