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

Re: [PATCH] remote-hg: fix hg sharedpath when git clone is moved

From
Antoine Pelisse <apelisse@gmail.com>
Date
Nov 23, 2013, 12:46 UTC
Message-ID
<CALWbr2zkiBS3zvcu8skrtn5tK8XMyQy8Nv1r1h+zowkgpWKYKw@mail.gmail.com>
In-Reply-To
<1385210302-25518-1-git-send-email-apelisse@gmail.com>
On Sat, Nov 23, 2013 at 1:38 PM, Antoine Pelisse <apelisse@gmail.com> wrote:
Show 11 quoted lines
> remote-hg is using a mercurial shared clone to store all remotes objects
> in one place. Unfortunately, the sharedpath is stored as an absolute
> path by mercurial, creating a dependency on the location of the git
> repository. Whenever the git repository is moved, the sharedpath must
> be updated to reflect the new absolute path.
>
> Check mercurial sharedpath file when getting the local hg repository,
> and update it manually with the new path if necessary.
>
> Signed-off-by: Antoine Pelisse <apelisse@gmail.com>
> ---

By the way, this is the only link [1] I found about both relative path and updating the file. So it looks like there is no other way to update the path but to write the file manually.

[1]: http://bz.selenic.com/show_bug.cgi?id=2006
Previous: Antoine PelisseNext: Felipe Contreras
Message 2 of 4 in “remote-hg: fix hg sharedpath when git clone is moved”
  1. remote-hg: fix hg sharedpath when git clone is movedAntoine Pelisse, Nov 23, 2013
  2. Antoine PelisseNov 23, 2013
  3. Felipe ContrerasNov 23, 2013
  4. Antoine PelisseNov 23, 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.