Mercurial > hg-stable
changeset 34187:b1d94bc61c79
configitems: register the 'convert.p4.startrev' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:36:20 +0200 |
parents | 2b7f5d38e59e |
children | 52cbbd28cb2a |
files | hgext/convert/__init__.py hgext/convert/p4.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Fri Jun 30 03:36:00 2017 +0200 +++ b/hgext/convert/__init__.py Fri Jun 30 03:36:20 2017 +0200 @@ -97,6 +97,9 @@ configitem('convert', 'localtimezone', default=False, ) +configitem('convert', 'p4.startrev', + default=0, +) # Commands definition was moved elsewhere to ease demandload job.
--- a/hgext/convert/p4.py Fri Jun 30 03:36:00 2017 +0200 +++ b/hgext/convert/p4.py Fri Jun 30 03:36:20 2017 +0200 @@ -138,7 +138,7 @@ vieworder.sort(key=len, reverse=True) # handle revision limiting - startrev = self.ui.config('convert', 'p4.startrev', default=0) + startrev = self.ui.config('convert', 'p4.startrev') # now read the full changelists to get the list of file revisions ui.status(_('collecting p4 changelists\n'))