diff --git a/product/ERP5VCS/WorkingCopy.py b/product/ERP5VCS/WorkingCopy.py index 1b95be7f73699edb775f72a4c9df12ebf4c79d2d..73a0cf56fc91b216620bacd3fc45b020878f7107 100644 --- a/product/ERP5VCS/WorkingCopy.py +++ b/product/ERP5VCS/WorkingCopy.py @@ -192,6 +192,9 @@ class WorkingCopy(Implicit): bta = BusinessTemplateWorkingCopy(creation=1) self.addremove(*bta.export(business_template)) + def showOld(self, path): + raise NotAWorkingCopyError + def newRevision(self): path = os.path.join('bt', 'revision') revision = int(self.showOld(path)) + 1