comparison hgsubversion/layouts/single.py @ 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 7bbe120be193
children
comparison
equal deleted inserted replaced
1308:78133c7ec2fc 1309:10c87b1dd653
2 2
3 import base 3 import base
4 4
5 class SingleLayout(base.BaseLayout): 5 class SingleLayout(base.BaseLayout):
6 """A layout with only the default branch""" 6 """A layout with only the default branch"""
7
8 @property
9 def name(self):
10 return 'single'
7 11
8 def localname(self, path): 12 def localname(self, path):
9 return None 13 return None
10 14
11 def remotename(self, branch): 15 def remotename(self, branch):