##// END OF EJS Templates
convert: register missed subversion config items...
Augie Fackler -
r34891:effae88b default
parent child Browse files
Show More
@@ -112,6 +112,15 b" configitem('convert', 'skiptags',"
112 112 configitem('convert', 'svn.debugsvnlog',
113 113 default=True,
114 114 )
115 configitem('convert', 'svn.trunk',
116 default=None,
117 )
118 configitem('convert', 'svn.tags',
119 default=None,
120 )
121 configitem('convert', 'svn.branches',
122 default=None,
123 )
115 124 configitem('convert', 'svn.startrev',
116 125 default=0,
117 126 )
@@ -352,8 +352,10 b' class svn_source(converter_source):'
352 352 raise error.Abort(_('svn: revision %s is not an integer') %
353 353 revs[0])
354 354
355 self.trunkname = self.ui.config('convert', 'svn.trunk',
356 'trunk').strip('/')
355 trunkcfg = self.ui.config('convert', 'svn.trunk')
356 if trunkcfg is None:
357 trunkcfg = 'trunk'
358 self.trunkname = trunkcfg.strip('/')
357 359 self.startrev = self.ui.config('convert', 'svn.startrev')
358 360 try:
359 361 self.startrev = int(self.startrev)
General Comments 0
You need to be logged in to leave comments. Login now