Re: [PATCH] remote-hg: fix hg sharedpath when git clone is moved
- From
Antoine Pelisse <apelisse@gmail.com>
- Date
- Nov 23, 2013, 16:35 UTC
- Message-ID
- <CALWbr2wE=6yR70tdBqf6dcdSv6mXE9vaPxg32OEGtL89+Kc_fA@mail.gmail.com>
- In-Reply-To
- <CAMP44s2=b+7cFbRK-NFPU-myT8JtaSsrKut4AbvjOAQe0OCxDg@mail.gmail.com>
On Sat, Nov 23, 2013 at 5:32 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
Show 13 quoted lines
> On Sat, Nov 23, 2013 at 6:38 AM, Antoine Pelisse <apelisse@gmail.com> wrote: >> 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> > > https://github.com/felipec/git/commit/270e7ff91a4a34e8bc27edb6bd7d7473b886f568
Or that, indeed :-)