diff hgext/convert/p4.py @ 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 0fa781320203
children 0d5a1175d0f9
line wrap: on
line diff
--- 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'))