comparison hgsubversion/maps.py @ 1381:2522049c6bed

maps: remove meta.caseignoreauthors from load method Since this is now taken care of in AuthorMap.__setitem__, we remove this check from the AuthorMap.load method so that it is easy to refactor.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:58 -0500
parents 332ad9ea579b
children d996850ac4e8
comparison
equal deleted inserted replaced
1380:332ad9ea579b 1381:2522049c6bed
68 self.meta.ui.status(msg % (number, path, line.rstrip())) 68 self.meta.ui.status(msg % (number, path, line.rstrip()))
69 continue 69 continue
70 70
71 src = src.strip() 71 src = src.strip()
72 dst = dst.strip() 72 dst = dst.strip()
73
74 if self.meta.caseignoreauthors:
75 src = src.lower()
76 73
77 if writing: 74 if writing:
78 if not src in self: 75 if not src in self:
79 self.meta.ui.debug('adding author %s to author map\n' % src) 76 self.meta.ui.debug('adding author %s to author map\n' % src)
80 elif dst != self[src]: 77 elif dst != self[src]: