Fix FileNotFoundError invocation in Git SCMTool

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

Information

Review Board
release-2.5.x
ffff95e...

Reviewers

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.

Description From Last Updated

How about FileNotFoundError(path, revision=commit)?

daviddavid
david
  1. 
      
  2. reviewboard/scmtools/git.py (Diff revision 1)
     
     
    Show all issues

    How about FileNotFoundError(path, revision=commit)?

  3. 
      
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.5.x (735a2b4)