Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vcs_info for mercurial doesn't detect shared repos
- X-seq: zsh-workers 32263
- From: Benjamin Peterson <bp@xxxxxxxxxxxxxxxxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: vcs_info for mercurial doesn't detect shared repos
- Date: Thu, 16 Jan 2014 06:43:40 -0800
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= benjamin-peterson.org; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:subject:date; s=mesmtp; bh=+jEO83SRRCpy15zeVOdIB9aiYDg=; b=f2UX9FhGa81Pkz6GCM+w0fiBQ3R8 09jrVr1zQND8WSTx9kpSDcotDdQefYVwDXj9qrrhkA5HpY6lB6NuYsUau+ZWranI P/D++PPSHh33ri4gUap5ztqXiwYMMnR134rm6WpV8zbnrCvr3mFzw9/EJnTsclGB VmyjABVfHeXIpg4=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=+jEO83SRRCpy15zeVOdIB9aiYDg=; b=hbFeYpl11BtrBjGhlnIrXFj91O9F envmzcLgnFQbyOVc7F3vKhnmVOxVw6ibSE59Juru35ANHlfW3XUcHmSlKoZgGPnk Ew55eumREV/2n6Jko8RkQplQr8MqLN2QAgd0wJTRNRWlIk1+Jh9tAIAAztIfdk5Y UCl67HRKRL0EL7s=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
On Thu, Jan 16, 2014, at 01:14 AM, Frank Terbeck wrote:
> We used to use ‘branch’ as the file to check for but moved away from it,
> because it didn't work reliably with newer versions of mercurial (this
> might have changed again in the meantime, since I don't follow
> mercurial's development too closely).
>
> Checking for ‘hgrc’ is not an option, because ~/.hg/hgrc is a possible
> configuration file location, which would lead to false positives in the
> user's home directory.
I see. Tricky!
>
> If a mercurial developer has an idea on how to properly detect this
> particular extension, I'd be all ears. ;)
shared repos have a file .hg/sharedpath if that helps
--
Regards,
Benjamin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author