##// END OF EJS Templates
configitems: register the 'convert.git.saverev' config
Boris Feld -
r34161:15794577 default
parent child Browse files
Show More
@@ -58,6 +58,9 b" configitem('convert', 'git.remoteprefix'"
58 configitem('convert', 'git.renamelimit',
58 configitem('convert', 'git.renamelimit',
59 default=400,
59 default=400,
60 )
60 )
61 configitem('convert', 'git.saverev',
62 default=True,
63 )
61
64
62 # Commands definition was moved elsewhere to ease demandload job.
65 # Commands definition was moved elsewhere to ease demandload job.
63
66
@@ -372,7 +372,7 b' class convert_git(common.converter_sourc'
372 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
372 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
373 tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
373 tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
374 date = tm + " " + str(tz)
374 date = tm + " " + str(tz)
375 saverev = self.ui.configbool('convert', 'git.saverev', True)
375 saverev = self.ui.configbool('convert', 'git.saverev')
376
376
377 c = common.commit(parents=parents, date=date, author=author,
377 c = common.commit(parents=parents, date=date, author=author,
378 desc=message,
378 desc=message,
General Comments 0
You need to be logged in to leave comments. Login now