Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
vcs_info for mercurial doesn't detect shared repos
- X-seq: zsh-workers 32259
- From: Benjamin Peterson <bp@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: vcs_info for mercurial doesn't detect shared repos
- Date: Wed, 15 Jan 2014 17:59:43 -0800
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= benjamin-peterson.org; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=mesmtp; bh=4W8tSuozsRdk370pYV6YEm+zfJo=; b=TKy4IAd/IufbvwWnInOwNdEsFLja e5wTFFbQrHiu4R9+/3W5e5rRFOum1hS1s/hdsrQpZgSqcJ7QqLShJBVGMi0RycHZ 531E7loy5WEQ4QSVzRJSpBeXKeJuFpLQycEkPwXKBlqad9smGdHyCdgjE+c8lfzp K2BPfW+UqgIgk6Y=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=4W8tSuozsRdk370pYV6YEm+zfJo=; b=hj4Kx+Ctxp6zf4LFx/hMwF/hHgdp G3rzfO7AoPaH1yhqTlVTw4pIopCInJ/8YI+8HzH3Mn+tdNN6mWXjQY87+pPv783+ SEYFzhgL6J63300S2Mk5/ZIqRTUPf1Blutx7Z12J2K5E2heKdlWz2PtKlw89lTDx FH6hEJxerTemdzc=
- 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
Hi,
The hg share extension [1] lets you have multiple working trees with
with the same backing repository. It seems vcs_info fails to detect
working copies where the share extension is used because those .hg dirs
don't contain "store" or "data" subdirectories as the VCS detection
requires. It think it would be safer to look for the "hgrc" or "branch"
file.
[1] http://mercurial.selenic.com/wiki/ShareExtension
--
Regards,
Benjamin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author