Commits

Sean Farley committed a564100

maps: use meta.defaultauthors intead of accessing ui directly

Comments (0)

Files changed (1)

hgsubversion/maps.py

         typically .hg/svn/authors.
         '''
         self.meta = meta
-        self.use_defaultauthors = self.meta.ui.configbool('hgsubversion', 'defaultauthors', True)
         self.caseignoreauthors = self.meta.ui.configbool('hgsubversion', 'caseignoreauthors', False)
         self.defaulthost = ''
         if meta.defaulthost:
 
         if search_author in self:
             result = self.super.__getitem__(search_author)
-        elif self.use_defaultauthors:
+        elif self.meta.defaultauthors:
             self[author] = result = '%s%s' % (author, self.defaulthost)
             msg = 'substituting author "%s" for default "%s"\n'
             self.meta.ui.debug(msg % (author, result))