Commits

Sean Farley committed 8783728

maps: use meta.caseignoreauthors intead of accessing ui directly

Comments (0)

Files changed (1)

hgsubversion/maps.py

         typically .hg/svn/authors.
         '''
         self.meta = meta
-        self.caseignoreauthors = self.meta.ui.configbool('hgsubversion', 'caseignoreauthors', False)
         self.defaulthost = ''
         if meta.defaulthost:
             self.defaulthost = '@%s' % meta.defaulthost.lstrip('@')
             src = src.strip()
             dst = dst.strip()
 
-            if self.caseignoreauthors:
+            if self.meta.caseignoreauthors:
                 src = src.lower()
 
             if writing:
         if author is None:
             author = '(no author)'
 
-        if self.caseignoreauthors:
+        search_author = author
+        if self.meta.caseignoreauthors:
             search_author = author.lower()
-        else:
-            search_author = author
 
         if search_author in self:
             result = self.super.__getitem__(search_author)