layouts: remove unused _branch_dir in standard

This commit is contained in:
Sean Farley 2014-03-24 11:20:50 -05:00
parent db9c05d601
commit 07038d5202

View File

@ -16,12 +16,6 @@ class StandardLayout(base.BaseLayout):
pre=lambda x: '/'.join(p for p in x.split('/')
if p) + '/')
self._branch_dir = self.meta.ui.config('hgsubversion', 'branchdir', 'branches')
if self._branch_dir[0] == '/':
self._branch_dir = self._branch_dir[1:]
if self._branch_dir[-1] != '/':
self._branch_dir += '/'
self._infix = self.meta.ui.config('hgsubversion', 'infix', '').strip('/')
if self._infix:
self._infix = '/' + self._infix