--- a/hgext/convert/__init__.py Fri Jun 30 03:34:06 2017 +0200
+++ b/hgext/convert/__init__.py Fri Jun 30 03:34:14 2017 +0200
@@ -58,6 +58,9 @@
configitem('convert', 'git.renamelimit',
default=400,
)
+configitem('convert', 'git.saverev',
+ default=True,
+)
# Commands definition was moved elsewhere to ease demandload job.
--- a/hgext/convert/git.py Fri Jun 30 03:34:06 2017 +0200
+++ b/hgext/convert/git.py Fri Jun 30 03:34:14 2017 +0200
@@ -372,7 +372,7 @@
tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
date = tm + " " + str(tz)
- saverev = self.ui.configbool('convert', 'git.saverev', True)
+ saverev = self.ui.configbool('convert', 'git.saverev')
c = common.commit(parents=parents, date=date, author=author,
desc=message,