##// 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 configitem('convert', 'svn.debugsvnlog',
112 configitem('convert', 'svn.debugsvnlog',
113 default=True,
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 configitem('convert', 'svn.startrev',
124 configitem('convert', 'svn.startrev',
116 default=0,
125 default=0,
117 )
126 )
@@ -352,8 +352,10 b' class svn_source(converter_source):'
352 raise error.Abort(_('svn: revision %s is not an integer') %
352 raise error.Abort(_('svn: revision %s is not an integer') %
353 revs[0])
353 revs[0])
354
354
355 self.trunkname = self.ui.config('convert', 'svn.trunk',
355 trunkcfg = self.ui.config('convert', 'svn.trunk')
356 'trunk').strip('/')
356 if trunkcfg is None:
357 trunkcfg = 'trunk'
358 self.trunkname = trunkcfg.strip('/')
357 self.startrev = self.ui.config('convert', 'svn.startrev')
359 self.startrev = self.ui.config('convert', 'svn.startrev')
358 try:
360 try:
359 self.startrev = int(self.startrev)
361 self.startrev = int(self.startrev)
General Comments 0
You need to be logged in to leave comments. Login now