Fix FileNotFoundError invocation in Git SCMTool

Review Request #9901 — Created May 2, 2018 and submitted

brennie
Review Board
release-2.5.x
ffff95e...
reviewboard

The Git SCMTool was providing the commit SHA to the FileNotFoundError,
leading to misleading error messages. This has been fixed.

Triggered a FileNotFoundError in a Git repository and saw the correct
error message.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
david
  1. 
      
  2. reviewboard/scmtools/git.py (Diff revision 1)
     
     

    How about FileNotFoundError(path, revision=commit)?

  3. 
      
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (735a2b4)
Loading...