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