changeset 1309:10c87b1dd653

layouts: add a name property to single
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:55 -0500
parents 78133c7ec2fc
children a6d3692a5800
files hgsubversion/layouts/single.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/layouts/single.py
+++ b/hgsubversion/layouts/single.py
@@ -5,6 +5,10 @@ import base
 class SingleLayout(base.BaseLayout):
     """A layout with only the default branch"""
 
+    @property
+    def name(self):
+        return 'single'
+
     def localname(self, path):
         return None