Mercurial > hgsubversion
diff hgsubversion/svnmeta.py @ 1292:7bbe120be193
layouts: turn taglocations method into a property
We no longer need to pass the meta path since we have an internal reference to
the meta object, so we remove the parameter from the taglocations method.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:53 -0500 |
parents | 3549a84bdebe |
children | 631a572658c2 |
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -385,8 +385,7 @@ class SVNMeta(object): (or tag) we have, for our purposes. """ path = self.normalize(path) - tloc = self.layoutobj.taglocations(self.metapath) - return self.layoutobj.get_path_tag(path, tloc) + return self.layoutobj.get_path_tag(path, self.layoutobj.taglocations) def split_branch_path(self, path, existing=True): """Figure out which branch inside our repo this path represents, and