--- 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'))