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

Re: [PATCH] remote-helpers: remove --graph in hg_log()

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Apr 6, 2013, 16:06 UTC
Message-ID
<CAMP44s2tdKhGuH3E7nGqU4R3jgEw4tH-=Cq6dhHwiLc=b_fm6Q@mail.gmail.com>
In-Reply-To
<1365264055-30507-1-git-send-email-apelisse@gmail.com>
On Sat, Apr 6, 2013 at 10:00 AM, Antoine Pelisse <apelisse@gmail.com> wrote:
> The hg_log() test helper uses the "--graph" parameter that is
> implemented by the GraphLog extension. If the extension is not activated
> by the user, the parameter is not available. Do not use the option that
> is unnecessary.
> I'm not so confident that --graph is useless to the test. If it's really
> necessary, it would be nice either to activate it in setup() or to use
> it just for the command through: "--config extensions.graphlog=".

I think it should be activated in the setup, it comes packaged with mercurial, and it's likely that many users have it enabled.

> Also changes the way we grep the output in hg_log(). The pipe operator
> can hide the return code of hg command. As a matter of fact, if log
> fails because it doesn't know about "--graph", it doesn't report any
> failure and let's you think everything worked.
Yeap, that is good to have.
Cheers.
-- 
Felipe Contreras
Previous: Antoine PelisseNext: Antoine Pelisse
Message 2 of 6 in “remote-helpers: remove --graph in hg_log()”
  1. remote-helpers: remove --graph in hg_log()Antoine Pelisse, Apr 6, 2013
  2. Felipe ContrerasApr 6, 2013
  3. Antoine PelisseApr 6, 2013
  4. Felipe ContrerasApr 6, 2013
  5. remote-hg: activate graplog extension for hg_log()Antoine Pelisse, Apr 6, 2013
  6. Eric SunshineApr 7, 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.