Re: [PATCH 0/3] remote-helpers: trivial test fixes
From: Felipe Contreras <hidden>
Date: 2016-06-15 22:56:35
Hi, On Mon, Apr 1, 2013 at 3:48 PM, Antoine Pelisse [off-list ref] wrote:
quoted hunk ↗ jump to hunk
I'm having an error in "contrib/remote-helpers/test-hg.sh" and it reproduces on every version I tested since you implemented it. Is it something in my environment that would make it wrong ? Cheers, Antoine --- expecting success: test_when_finished "rm -rf gitrepo*" && ( cd hgrepo && hg update -r 0 ) && git clone "hg::$PWD/hgrepo" gitrepo && check gitrepo zero master 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Cloning into 'gitrepo'...--- expected 2013-04-01 21:46:32.086796549 +0000 +++ actual 2013-04-01 21:46:32.086796549 +0000@@ -1,2 +1,2 @@ -zero -refs/heads/master +feature-a +refs/heads/feature-anot ok 4 - cloning with detached head
You probably have a very old version of mercurial that has a bug, this should workaround the issue: http://thread.gmane.org/gmane.comp.version-control.git/209491 But it shouldn't be a big deal, it's just the default branch (HEAD). -- Felipe Contreras