diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml index cb01d19a3010aab4561e9b75c3d26e6191416b08..6e4144a85fa15f8fef5fa5ae9c97adba0f22d568 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_viewVcsChangelog/your_changelog.xml @@ -130,9 +130,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -279,17 +277,4 @@ </dictionary> </pickle> </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> diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision index e59f0632ab19b456e3df415e223418bb600b8ab4..5cb222c0b2aa7353f113849662e455e10292700a 100644 --- a/bt5/erp5_forge/bt/revision +++ b/bt5/erp5_forge/bt/revision @@ -1 +1 @@ -658 \ No newline at end of file +659 \ No newline at end of file diff --git a/product/ERP5VCS/WorkingCopy.py b/product/ERP5VCS/WorkingCopy.py index 87889087a568b1cf07a1b2384af079a023000377..e33ec5a32c1118800057ccd49b3c16cfc3685117 100644 --- a/product/ERP5VCS/WorkingCopy.py +++ b/product/ERP5VCS/WorkingCopy.py @@ -232,24 +232,6 @@ class WorkingCopy(Implicit): file.close() 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): try: hasDiff = aq_base(self).__hasDiff