Commit 0e0f9441 authored by Julien Muchembled's avatar Julien Muchembled

ERP5VCS: fail properly when 'update' action can't find a working copy

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44205 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b60c6c75
......@@ -195,6 +195,9 @@ class WorkingCopy(Implicit):
def showOld(self, path):
raise NotAWorkingCopyError
def update(self, keep=False):
raise NotAWorkingCopyError
def newRevision(self):
path = os.path.join('bt', 'revision')
revision = int(self.showOld(path)) + 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment