[issue3427] test-convert-git.t fails with git 1.7.10

Javi bugs at mercurial.selenic.com
Fri May 4 16:28:54 CDT 2012


New submission from Javi <cibervicho at gmail.com>:

With git 1.7.10, the last hg convert doesn't abort anymore:

$ make test-convert-git.t
cd tests && python run-tests.py  test-convert-git.t

--- test-convert-git.t
+++ test-convert-git.t.err
@@ -290,4 +290,3 @@
   $ python damage.py
   $ hg convert git-repo4 git-repo4-broken-hg 2>&1 | \
   >     grep 'abort:' | sed 's/abort:.*/abort:/g'
-  abort:

ERROR: test-convert-git.t output changed


Taking a look at the output of the last command, with git 1.7.9.5:

$ hg convert git-repo4 git-repo4-broken-hg
error: refs/heads/master does not point to a valid object!
fatal: git upload-pack: cannot find object
1c0ce3c5886f83a1d78a7b517cdff5cf9ca17bdd:
fatal: The remote end hung up unexpectedly
initializing destination git-repo4-broken-hg repository
scanning source...
sorting...
converting...
abort: cannot read tags from git-repo4/.git

Whereas with git 1.7.10 there is no abort:

$ hg convert git-repo4 git-repo4-broken-hg
error: refs/heads/master does not point to a valid object!
error: unable to find 1c0ce3c5886f83a1d78a7b517cdff5cf9ca17bdd
error: refs/heads/master does not point to a valid object!
initializing destination git-repo4-broken-hg repository
scanning source...
sorting...
converting...
$

----------
messages: 19911
nosy: vicho
priority: bug
status: unread
title: test-convert-git.t fails with git 1.7.10

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3427>
____________________________________________________


More information about the Mercurial-devel mailing list