Re: [PATCH v3] remotes-hg: bugfix for fetching non local remotes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 26, 2013, 01:30 UTC
- Message-ID
- <7vd2q63y6i.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CALWbr2x9fG=diZPN-Wkq+-7bstoVmN_pnXN0EPi=4MZQVRuYXg@mail.gmail.com>
Antoine Pelisse <apelisse@gmail.com> writes:
Show 12 quoted lines
> On Thu, Jul 25, 2013 at 10:40 PM, Felipe Contreras > <felipe.contreras@gmail.com> wrote: >> That's true. Maybe something like: >> >> for x in repos: >> local_hg = os.path.join(shared_path, x, 'clone', '.hg') >> if os.path.exists(local_hg): >> shutil.copytree(local_hg, hg_path) >> break > > I think that would work, but I think the patch from Joern Hees would > have to be reverted first (as it's merged in next)
The expectation is that not all things in 'next' today will be in 1.8.4 anyway, so it is perfectly OK to revert it as needed.
Thanks.