##// END OF EJS Templates
subrepo: calculate _relpath for hgsubrepo based on self instead of parent...
Matt Harbison -
r24786:56e15db9 default
parent child Browse files
Show More
@@ -959,6 +959,13 b' class hgsubrepo(abstractsubrepo):'
959 959 """
960 960 return self._repo.wvfs
961 961
962 @propertycache
963 def _relpath(self):
964 """return path to this subrepository as seen from outermost repository
965 """
966 # Keep consistent dir separators by avoiding vfs.join(self._path)
967 return reporelpath(self._repo)
968
962 969 class svnsubrepo(abstractsubrepo):
963 970 def __init__(self, ctx, path, state):
964 971 super(svnsubrepo, self).__init__(ctx, path)
General Comments 0
You need to be logged in to leave comments. Login now