Mercurial > hgsubversion
comparison 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 |
comparison
equal
deleted
inserted
replaced
1291:13f8e9cc90c6 | 1292:7bbe120be193 |
---|---|
383 | 383 |
384 Note that it's only a tag if it was copied from the path '' in a branch | 384 Note that it's only a tag if it was copied from the path '' in a branch |
385 (or tag) we have, for our purposes. | 385 (or tag) we have, for our purposes. |
386 """ | 386 """ |
387 path = self.normalize(path) | 387 path = self.normalize(path) |
388 tloc = self.layoutobj.taglocations(self.metapath) | 388 return self.layoutobj.get_path_tag(path, self.layoutobj.taglocations) |
389 return self.layoutobj.get_path_tag(path, tloc) | |
390 | 389 |
391 def split_branch_path(self, path, existing=True): | 390 def split_branch_path(self, path, existing=True): |
392 """Figure out which branch inside our repo this path represents, and | 391 """Figure out which branch inside our repo this path represents, and |
393 also figure out which path inside that branch it is. | 392 also figure out which path inside that branch it is. |
394 | 393 |