[Erp5-report] r38196 nicolas.dumazet - /erp5/trunk/products/ERP5Subversion/SubversionClient.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 8 14:57:24 CEST 2010
Author: nicolas.dumazet
Date: Wed Sep 8 14:57:21 2010
New Revision: 38196
URL: http://svn.erp5.org?rev=38196&view=rev
Log:
revert r38109 for now as it creates unwanted directories in bt/ folders.
A better solution needs to be found.
Modified:
erp5/trunk/products/ERP5Subversion/SubversionClient.py
Modified: erp5/trunk/products/ERP5Subversion/SubversionClient.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Subversion/SubversionClient.py?rev=38196&r1=38195&r2=38196&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Subversion/SubversionClient.py [utf8] (original)
+++ erp5/trunk/products/ERP5Subversion/SubversionClient.py [utf8] Wed Sep 8 14:57:21 2010
@@ -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
More information about the Erp5-report
mailing list