Submitter | Boris Feld |
---|---|
Date | Sept. 13, 2017, 6:59 a.m. |
Message ID | <9610a6b85481b82d7285.1505285960@FB> |
Download | mbox | patch |
Permalink | /patch/23843/ |
State | Accepted |
Headers | show |
Comments
Patch
diff -r 1f322f5d18d0 -r 9610a6b85481 hgext/convert/__init__.py --- a/hgext/convert/__init__.py ven. juin 30 03:34:06 2017 +0200 +++ b/hgext/convert/__init__.py ven. juin 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. diff -r 1f322f5d18d0 -r 9610a6b85481 hgext/convert/git.py --- a/hgext/convert/git.py ven. juin 30 03:34:06 2017 +0200 +++ b/hgext/convert/git.py ven. juin 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,