Skip to content
Snippets Groups Projects
Commit b8ae289a7707 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

patch: add close() to abstractbackend

patchbackend() seems to call it on an arbitrary backend, so it seems
to be part of the API. Since all subclasses do something in their
close() methods, I decided to let this one raise an exception rather
than just pass.
parent 4ecc6047d45f
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,9 @@
def exists(self, fname):
raise NotImplementedError
def close(self):
raise NotImplementedError
class fsbackend(abstractbackend):
def __init__(self, ui, basedir):
super(fsbackend, self).__init__(ui)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment