Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 118adfbfcec387378cc92cae0d5cdecefc4f9fff
Ticket: 451333ffffffffffffffffffffffffffffffffff
CVS storage of win/tcl.hpj.in @ -kb
User & Date: davygrvy on 2001-08-21 11:21:43
Changes

  1. closedate changed to: "2001-08-21T04:21:43"
  2. closer changed to: "davygrvy"
  3. icomment:
    Logged In: YES 
    user_id=7549
    
    Just adding a note to be utterly complete and documented...
    
    One can never guarentee the translation mode of CVS upon 
    checkout.  Mac for CR, Win for CRLF, and unix for LF.  The 
    intent was to match text file format to the platform format 
    of text files.  The main reason for this feature in CVS was 
    to allow easy editing.
    
    Building is a slighty different issue.  Conceptually, I see 
    nothing wrong with checking out a DOS batchfile on unix in 
    LF mode, editing it, then committing changes.  Batch files 
    in LF mode won't run!  But the concern is editing.  Old 
    fashioned VI won't cause a calamity.  CVS translation lines 
    up perfectly when the CVS translation matches the editor 
    mode.  No second guessing required.
    
    But building is a different story.  As before, CVS 
    translation could be any of 3 choices.  The problem 
    of "what translation are we in?" arises when 
    building/running/using and especially when grinding builds 
    for all platforms from a single checkout/export on a mapped 
    drive as is commonly done in large shops for dialies (or 
    nightlies).
    
    Because of the "no guarenteed translation", I would suggest 
    a make target for fixing the special files that require a 
    specific mode as part of the build process.
    
    
  4. login: "davygrvy"
  5. mimetype: "text/plain"
  6. username: "davygrvy"