Opened 7 years ago
Last modified 7 years ago
#12896 closed defect
GIT control files missing error is raised if directory of git repository is not readable — at Initial Version
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.17 |
Component: | plugin/git | Version: | 1.0.15 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This behavior confuses a user and isn't helpful. I think we should raise Make sure the Git repository is readable error rather than the error.
In particular, we should use os.listdir()
before os.path.exists()
. os.path.exists()
with non-readable directory returns False
without any exception.
Note:
See TracTickets
for help on using tickets.