vcssync: temporarily do not set convert.git.saverev (
bug 1333616); r?glob
This config option was introduced in Mercurial 4.1 and has no effect on
Mercurial 4.0. In order to demonstrate that the Mercurial 4.1 upgrade
doesn't change tests without this option in play, this commit
disables the config option so we can perform the Mercurial upgrade
without extra test changes.
MozReview-Commit-ID: IV9mKyyMF1l
--- a/vcssync/mozvcssync/git2hg.py
+++ b/vcssync/mozvcssync/git2hg.py
@@ -155,17 +155,17 @@ def linearize_git_repo_to_hg(git_source_
hg_config = [
b'extensions.convert=',
# Make the rename detection limit essentially infinite.
b'convert.git.renamelimit=1000000000',
# The ``convert_revision`` that would be stored reflects the rewritten
# Git commit. This is valuable as a persistent SHA map, but that's it.
# We (hopefully) insert the original Git commit via
# ``source_revision_key``, so this is of marginal value.
- b'convert.git.saverev=false',
+ #b'convert.git.saverev=false',
b'convert.git.similarity=%d' % similarity,
]
if find_copies_harder:
hg_config.append(b'convert.git.findcopiesharder=true')
if skip_submodules:
hg_config.append(b'convert.git.skipsubmodules=true')