138
143
class SmartServerBranchRequestUnlock(SmartServerBranchRequest):
140
145
def do_with_branch(self, branch, branch_token, repo_token):
144
152
except errors.TokenMismatch:
145
153
return SmartServerResponse(('TokenMismatch',))
146
154
branch.repository.dont_leave_lock_in_place()