Mercurial > hg-git
changeset 1069:88db6948a5a8
config: register git.mindate
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 24 Oct 2017 14:37:55 -0500 |
parents | 914e5477b17e |
children | 0b4144897f73 |
files | hggit/compat.py hggit/git_handler.py |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/compat.py Tue Oct 24 14:36:17 2017 -0500 +++ b/hggit/compat.py Tue Oct 24 14:37:55 2017 -0500 @@ -69,6 +69,7 @@ 'branch_bookmark_suffix': None, 'debugextrainmessage': False, # test only -- do not document this! 'intree': None, + 'mindate': None, }, 'hggit': { 'mapsavefrequency': 0,
--- a/hggit/git_handler.py Tue Oct 24 14:36:17 2017 -0500 +++ b/hggit/git_handler.py Tue Oct 24 14:37:55 2017 -0500 @@ -1263,7 +1263,7 @@ '''filter refs by minimum date This only works for refs that are available locally.''' - min_date = self.ui.config('git', 'mindate') + min_date = compat.config(self.ui, 'string', 'git', 'mindate') if min_date is None: return refs