Fix syntax highlighting for files on CVS.

Review Request #8617 — Created Jan. 13, 2017 and submitted

Information

Review Board
release-2.5.x
1b49008...

Reviewers

CVS filenames often include a trailing ,v in them, which mucks up the
detection for syntax highlighting. This can be easily fixed by implementing
normalize_path_for_display in the SCMTool. This fix was suggested in the bug,
but never submitted to Review Board.

Ran unit tests.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/scmtools/cvs.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/scmtools/cvs.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (f1d9813)
Loading...