get_svn_revision() should be more robust
— at Version 4
When Django is used in the Google App Engine (GAE)environment there is a problem with the django get_svn_revision() function. This occurs only in when using the GAE SDK and when a checked out version of Django is used.
The get_svn_revision() function checks for existence of a ".svn/entries" file. This file will exist if Django was checked out, but GAE will prevent reading that file, which results in an raised error. Would be nice if this error could be catched, and perhaps a warning logged, and simple "unknown" would be returned.
Change History
(5)
milestone: |
1.1 beta → 1.1
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Matt Boersma
|
Status: |
new → assigned
|
Description: |
modified (diff)
|
Has patch: |
set
|
Summary: |
get_svn_version() should be more robust → get_svn_revision() should be more robust
|
This isn't a feature and thus isn't for the 1.1 beta.