Mercurial > hgsubversion
changeset 1192:23a845fbfc6a
svnmeta: use generator for usebranchnames property
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:46 -0500 |
parents | f0d5c03a71b9 |
children | a55339d35066 |
files | hgsubversion/svnmeta.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -37,11 +37,10 @@ class SVNMeta(object): self._gen_cachedconfig('defaultauthors', True) self._gen_cachedconfig('caseignoreauthors', False) self._gen_cachedconfig('defaulthost', self.uuid) + self._gen_cachedconfig('usebranchnames', True) author_host = self.ui.config('hgsubversion', 'defaulthost', uuid) authors = util.configpath(self.ui, 'authormap') - self.usebranchnames = self.ui.configbool('hgsubversion', - 'usebranchnames', True) branchmap = util.configpath(self.ui, 'branchmap') tagmap = util.configpath(self.ui, 'tagmap') filemap = util.configpath(self.ui, 'filemap')