mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
layouts: remove unused _branch_dir in standard
This commit is contained in:
parent
db9c05d601
commit
07038d5202
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user