# HG changeset patch # User Sean Farley # Date 1395678055 18000 # Node ID a6d3692a580011de66670cbbc7d7408f7d6f1358 # Parent 10c87b1dd65315d3921c25a03eb2aa915a28d430 layouts: add a name property to standard diff --git a/hgsubversion/layouts/standard.py b/hgsubversion/layouts/standard.py --- 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