changeset 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 10c87b1dd653
children f5df4bb6f330
files hgsubversion/layouts/standard.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/layouts/standard.py
+++ b/hgsubversion/layouts/standard.py
@@ -29,6 +29,10 @@ class StandardLayout(base.BaseLayout):
         meta._gen_cachedconfig('taglocations', ['tags'], 'tag_locations',
                                'tagpaths', lambda x: list(reversed(sorted(x))))
 
+    @property
+    def name(self):
+        return 'standard'
+
     @property
     def trunk(self):
         return 'trunk' + self.meta.infix