changeset 1311:f5df4bb6f330

layouts: add a name property to custom
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:55 -0500
parents a6d3692a5800
children 80b57ed92544
files hgsubversion/layouts/custom.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/layouts/custom.py
+++ b/hgsubversion/layouts/custom.py
@@ -38,6 +38,10 @@ class CustomLayout(base.BaseLayout):
             self.svn_to_hg[svn_path] = hg_branch
             self.hg_to_svn[hg_branch] = svn_path
 
+    @property
+    def name(self):
+        return 'custom'
+
     def localname(self, path):
         if path in self.svn_to_hg:
             return self.svn_to_hg[path]