changeset 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 1553a4b61221
children 3549a84bdebe
files hgsubversion/svnmeta.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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