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

Re: [PATCH] remote-hg: store converted URL

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 15, 2013, 20:10 UTC
Message-ID
<7vobgq2ono.fsf@alter.siamese.dyndns.org>
In-Reply-To
<B35B3EA6-F01B-46D8-AC3D-0F7C8A45A06B@quendi.de>
Max Horn <max@quendi.de> writes:
Show 6 quoted lines
> So far, all I look at do not deal with this at all. Any attempts
> to deal with it should be pretty easy to recognize: The
> remote-$backend would have to store something into the git config,
> or else, verify the opaque token and refuse to work with it under
> certain conditions (e.g. when it contains a relative path). But
> they don't. E.g. git-remote-testgit has the exact same problem.

Thanks for confirming what I suspected. I think the way Felipe's patch makes remote-hg take responsibility of how $opaqueToken should look like for future invocations is the simplest and makes the most sense. We could try to go fancier and end up over-engineering, but I'd rather have a simple fix in the tree first.

Thanks.
Previous: Max HornNext: Max Horn
Message 7 of 8 in “remote-hg: store converted URL”
  1. remote-hg: store converted URLMax Horn, Jan 9, 2013
  2. Junio C HamanoJan 14, 2013
  3. Max HornJan 15, 2013
  4. Junio C HamanoJan 15, 2013
  5. Junio C HamanoJan 15, 2013
  6. Max HornJan 15, 2013
  7. Junio C HamanoJan 15, 2013
  8. Max HornJan 15, 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.