Mercurial > hg-stable
diff tests/test-status-color.t @ 29658:09a5699cc3cb stable
convert: move svn config initializer out of the module level
The svn_config_get_config config call was being called at the module level, but
had the potential to throw permission denied errors if ~/.subversion/servers was
not readable. This could happen in certain test environments where the user
permissions were very particular.
This prevented the remotenames extension from loading, since it imports
convert's hg module, which imports convert's subversion module, which calls
this. The config is only ever used from this one constructor, so let's just move
it in to there.
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 01 Aug 2016 17:38:01 -0700 |
parents | 1e184241de51 |
children | f34a8cff51d9 |