Mercurial > hgsubversion
comparison hgsubversion/layouts/standard.py @ 1310:a6d3692a5800
layouts: add a name property to standard
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:55 -0500 |
parents | 7bbe120be193 |
children | 43a365f5d13c |
comparison
equal
deleted
inserted
replaced
1309:10c87b1dd653 | 1310:a6d3692a5800 |
---|---|
26 meta._gen_cachedconfig('infix', '', pre=_infix_transform) | 26 meta._gen_cachedconfig('infix', '', pre=_infix_transform) |
27 | 27 |
28 # the lambda is to ensure nested paths are handled properly | 28 # the lambda is to ensure nested paths are handled properly |
29 meta._gen_cachedconfig('taglocations', ['tags'], 'tag_locations', | 29 meta._gen_cachedconfig('taglocations', ['tags'], 'tag_locations', |
30 'tagpaths', lambda x: list(reversed(sorted(x)))) | 30 'tagpaths', lambda x: list(reversed(sorted(x)))) |
31 | |
32 @property | |
33 def name(self): | |
34 return 'standard' | |
31 | 35 |
32 @property | 36 @property |
33 def trunk(self): | 37 def trunk(self): |
34 return 'trunk' + self.meta.infix | 38 return 'trunk' + self.meta.infix |
35 | 39 |