From: Antoine Pelisse Date: Thu, 25 Jul 2013 21:10:24 GMT Subject: Re: [PATCH v3] remotes-hg: bugfix for fetching non local remotes Message-ID: In-Reply-To: On Thu, Jul 25, 2013 at 10:40 PM, Felipe Contreras 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) Cheers, Antoine