zsh-workers
 help / color / mirror / code / Atom feed
* vcs_info for mercurial doesn't detect shared repos
@ 2014-01-16  1:59 Benjamin Peterson
  2014-01-16  9:14 ` Frank Terbeck
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Peterson @ 2014-01-16  1:59 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-17  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-16  1:59 vcs_info for mercurial doesn't detect shared repos Benjamin Peterson
2014-01-16  9:14 ` Frank Terbeck
2014-01-16 14:41   ` Benjamin Peterson
2014-01-16 15:05     ` [PATCH] vcs_info, hg: Support detecting repos using ShareExtension Frank Terbeck
2014-01-17  5:48       ` Benjamin Peterson
2014-01-17  8:01         ` Frank Terbeck

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).