Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
erp5
Commits
a25437d1
Commit
a25437d1
authored
Jun 15, 2011
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor code to use ERP5VCS instead of pysvn
parent
8d3267e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Tool/TemplateTool.py
product/ERP5/Tool/TemplateTool.py
+2
-2
No files found.
product/ERP5/Tool/TemplateTool.py
View file @
a25437d1
...
@@ -445,8 +445,8 @@ class TemplateTool (BaseTool):
...
@@ -445,8 +445,8 @@ class TemplateTool (BaseTool):
svn_checkout_tmp_dir = mkdtemp()
svn_checkout_tmp_dir = mkdtemp()
svn_checkout_dir = os.path.join(svn_checkout_tmp_dir, '
bt
')
svn_checkout_dir = os.path.join(svn_checkout_tmp_dir, '
bt
')
try:
try:
import pysvn
from Products.ERP5VCS.WorkingCopy import getVcsTool
pysvn.Client(
).export(url, svn_checkout_dir)
getVcsTool('
svn
').__of__(self
).export(url, svn_checkout_dir)
return self._download_local(svn_checkout_dir, bt_id)
return self._download_local(svn_checkout_dir, bt_id)
finally:
finally:
shutil.rmtree(svn_checkout_tmp_dir)
shutil.rmtree(svn_checkout_tmp_dir)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment