Mercurial > hgsubversion
comparison hgsubversion/layouts/base.py @ 1027:16045f6f3fef
layouts: pull svn path -> potential tag name mapping into layouts
author | David Schleimer <dschleimer@fb.com> |
---|---|
date | Wed, 26 Jun 2013 14:40:31 -0500 |
parents | 66395f232b7c |
children | 513f2b607b06 |
comparison
equal
deleted
inserted
replaced
1026:66395f232b7c | 1027:16045f6f3fef |
---|---|
47 | 47 |
48 Should be returned in reverse-sorted order. | 48 Should be returned in reverse-sorted order. |
49 | 49 |
50 """ | 50 """ |
51 self.__unimplemented('tagpaths') | 51 self.__unimplemented('tagpaths') |
52 | |
53 def get_path_tag(self, path, taglocations): | |
54 """Get the tag name for the given svn path, if it is a possible tag. | |
55 | |
56 This function should return None if the path cannot be a tag. | |
57 Returning a non-empty sring does not imply that the path is a | |
58 tag, only that it is a candidate to be a tag. Returning an | |
59 empty string is an error. | |
60 | |
61 Path should be relative to the repo url. | |
62 taglocations should be as returned by self.taglocations() | |
63 | |
64 """ | |
65 self.__unimplemented('get_path_tag') |