git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/3] remote-helpers: trivial test fixes

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Apr 1, 2013, 21:56 UTC
Message-ID
<CAMP44s2d-gZHsgibq2E8vZ25vciJRBh5Z0hYmx5pNa+CW5gvyg@mail.gmail.com>
In-Reply-To
<CALWbr2wAJGemYziPsOkArJveK0F+4Pv80gdR1SGUxchb0ci-sg@mail.gmail.com>
Hi,
On Mon, Apr 1, 2013 at 3:48 PM, Antoine Pelisse <apelisse@gmail.com> wrote:
Show 29 quoted lines
> 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-a
> not 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

Previous: Antoine PelisseNext: Felipe Contreras
Message 14 of 15 in “remote-helpers: trivial test fixes”
  1. 0/3 remote-helpers: trivial test fixesFelipe Contreras, Apr 1, 2013
  2. 1/3 remote-helpers: fix the run of all testsFelipe Contreras, Apr 1, 2013
  3. Antoine PelisseApr 1, 2013
  4. Jeff KingApr 1, 2013
  5. Torsten BögershausenApr 2, 2013
  6. Jeff KingApr 2, 2013
  7. Torsten BögershausenApr 3, 2013
  8. Junio C HamanoApr 3, 2013
  9. Felipe ContrerasApr 4, 2013
  10. 2/3 remote-bzr: remove stale check code for testsFelipe Contreras, Apr 1, 2013
  11. Junio C HamanoApr 1, 2013
  12. 3/3 remote-hg: fix hg-git test-caseFelipe Contreras, Apr 1, 2013
  13. Antoine PelisseApr 1, 2013
  14. Felipe ContrerasApr 1, 2013
  15. Felipe ContrerasApr 1, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.