##// END OF EJS Templates
configitems: register the 'convert.svn.startrev' config
Boris Feld -
r34177:0cfa7d9b default
parent child Browse files
Show More
@@ -106,6 +106,9 b" configitem('convert', 'skiptags',"
106 configitem('convert', 'svn.debugsvnlog',
106 configitem('convert', 'svn.debugsvnlog',
107 default=True,
107 default=True,
108 )
108 )
109 configitem('convert', 'svn.startrev',
110 default=0,
111 )
109
112
110 # Commands definition was moved elsewhere to ease demandload job.
113 # Commands definition was moved elsewhere to ease demandload job.
111
114
@@ -354,7 +354,7 b' class svn_source(converter_source):'
354
354
355 self.trunkname = self.ui.config('convert', 'svn.trunk',
355 self.trunkname = self.ui.config('convert', 'svn.trunk',
356 'trunk').strip('/')
356 'trunk').strip('/')
357 self.startrev = self.ui.config('convert', 'svn.startrev', default=0)
357 self.startrev = self.ui.config('convert', 'svn.startrev')
358 try:
358 try:
359 self.startrev = int(self.startrev)
359 self.startrev = int(self.startrev)
360 if self.startrev < 0:
360 if self.startrev < 0:
General Comments 0
You need to be logged in to leave comments. Login now