diff hgsubversion/svnmeta.py @ 1289:d29a3f988b74

svnmeta: remove unneeded call to self.taglocations This is the only call to taglocations, therefore we remove it so that we can remove the property in the next patch.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:53 -0500
parents 6d6345604772
children 3549a84bdebe
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -389,7 +389,8 @@ class SVNMeta(object):
         (or tag) we have, for our purposes.
         """
         path = self.normalize(path)
-        return self.layoutobj.get_path_tag(path, self.taglocations)
+        tloc = self.layoutobj.taglocations(self.metapath)
+        return self.layoutobj.get_path_tag(path, tloc)
 
     def split_branch_path(self, path, existing=True):
         """Figure out which branch inside our repo this path represents, and