changeset 31294:1937671105bc

filecache: make 'join' abstract All subclasses redefine this method, so we can make it abstract.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 05 Aug 2016 14:24:53 +0200
parents 74cbbd5420ba
children f8df87018ae9
files mercurial/scmutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/scmutil.py	Wed Mar 08 16:43:16 2017 -0800
+++ b/mercurial/scmutil.py	Fri Aug 05 14:24:53 2016 +0200
@@ -881,7 +881,7 @@
         function to call the appropriate join function on 'obj' (an instance
         of the class that its member function was decorated).
         """
-        return obj.join(fname)
+        raise NotImplementedError
 
     def __call__(self, func):
         self.func = func