equal
deleted
inserted
replaced
323 for key, value in self.configitems("ui"): |
323 for key, value in self.configitems("ui"): |
324 if key == 'ignore' or key.startswith('ignore.'): |
324 if key == 'ignore' or key.startswith('ignore.'): |
325 result.append(os.path.expanduser(value)) |
325 result.append(os.path.expanduser(value)) |
326 return result |
326 return result |
327 |
327 |
328 def configrevlog(self): |
|
329 result = {} |
|
330 for key, value in self.configitems("revlog"): |
|
331 result[key.lower()] = value |
|
332 return result |
|
333 |
|
334 def username(self): |
328 def username(self): |
335 """Return default username to be used in commits. |
329 """Return default username to be used in commits. |
336 |
330 |
337 Searched in this order: $HGUSER, [ui] section of hgrcs, $EMAIL |
331 Searched in this order: $HGUSER, [ui] section of hgrcs, $EMAIL |
338 and stop searching if one of these is set. |
332 and stop searching if one of these is set. |