##// END OF EJS Templates
tests: fix vcs Hg helper functions get_user_name and get_user_email to actually use provided config_file...
Mads Kiilerich -
r7306:fb493f3e default
parent child Browse files
Show More
@@ -613,7 +613,7 b' class MercurialRepository(BaseRepository'
613 :param config_file: A path to file which should be used to retrieve
613 :param config_file: A path to file which should be used to retrieve
614 configuration from (might also be a list of file paths)
614 configuration from (might also be a list of file paths)
615 """
615 """
616 username = self.get_config_value('ui', 'username')
616 username = self.get_config_value('ui', 'username', config_file=config_file)
617 if username:
617 if username:
618 return author_name(username)
618 return author_name(username)
619 return None
619 return None
@@ -625,7 +625,7 b' class MercurialRepository(BaseRepository'
625 :param config_file: A path to file which should be used to retrieve
625 :param config_file: A path to file which should be used to retrieve
626 configuration from (might also be a list of file paths)
626 configuration from (might also be a list of file paths)
627 """
627 """
628 username = self.get_config_value('ui', 'username')
628 username = self.get_config_value('ui', 'username', config_file=config_file)
629 if username:
629 if username:
630 return author_email(username)
630 return author_email(username)
631 return None
631 return None
General Comments 0
You need to be logged in to leave comments. Login now