# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1470399893 -7200
#      Fri Aug 05 14:24:53 2016 +0200
# Node ID 1937671105bc213f540e6dd862bbabb14b6fdd0b
# Parent  74cbbd5420ba93bbf834ec31428d7c5bbf52bdc4
filecache: make 'join' abstract

All subclasses redefine this method, so we can make it abstract.

diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -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