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
Xueyun Qian
erp5
Commits
7bbcc714
Commit
7bbcc714
authored
May 12, 2011
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5VCS: stop suggest a commit message automatically from BT changelog
parent
923dc677
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
35 deletions
+2
-35
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml
..._vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml
+1
-16
bt5/erp5_forge/bt/revision
bt5/erp5_forge/bt/revision
+1
-1
product/ERP5VCS/WorkingCopy.py
product/ERP5VCS/WorkingCopy.py
+0
-18
No files found.
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml
View file @
7bbcc714
...
@@ -130,9 +130,7 @@
...
@@ -130,9 +130,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
default
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<value>
<string></string>
</value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -279,17 +277,4 @@
...
@@ -279,17 +277,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getVcsTool().getLastChangelog()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_forge/bt/revision
View file @
7bbcc714
658
659
\ No newline at end of file
\ No newline at end of file
product/ERP5VCS/WorkingCopy.py
View file @
7bbcc714
...
@@ -232,24 +232,6 @@ class WorkingCopy(Implicit):
...
@@ -232,24 +232,6 @@ class WorkingCopy(Implicit):
file
.
close
()
file
.
close
()
return
revision
return
revision
def
getLastChangelog
(
self
):
"""Return last changelog of a business template
"""
changelog
=
""
try
:
f
=
open
(
os
.
path
.
join
(
self
.
working_copy
,
'bt'
,
'change_log'
))
try
:
for
line
in
f
:
if
not
line
.
strip
():
break
changelog
+=
line
finally
:
f
.
close
()
except
IOError
,
e
:
if
e
.
errno
!=
errno
.
ENOENT
:
raise
return
changelog
def
hasDiff
(
self
,
path
):
def
hasDiff
(
self
,
path
):
try
:
try
:
hasDiff
=
aq_base
(
self
).
__hasDiff
hasDiff
=
aq_base
(
self
).
__hasDiff
...
...
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