Commit 0ca85749 authored by Nicolas Dumazet's avatar Nicolas Dumazet

revert r38109 for now as it creates unwanted directories in bt/ folders.

A better solution needs to be found.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38196 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b9a6b48f
......@@ -211,19 +211,7 @@ try:
timeout = 60 * 5
def __init__(self, container, **kw):
# pysvn.Client() uses the system configuration.
# which means that if one sets for example a global
# diff-cmd = /usr/bin/colordiff
# in his ~/.subversion/config , this pysvn client
# will call colordiff when creating diffs, and will
# fail and crash when trying to parse the diff output since it
# will contain unexpected color codes.
# The workaround is to pass a config directory to pysvn.Client:
# if this config directory does not contain a valid config file,
# pysvn falls back to the safe default configuration.
path_without_config = os.getcwd()
self.client = pysvn.Client(path_without_config)
self.client = pysvn.Client()
self.client.set_auth_cache(0)
obj = self.__of__(container)
self.client.exception_style = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment