[Bug 6904] New: List hg shares
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Thu Aug 22 12:49:16 UTC 2024
https://bz.mercurial-scm.org/show_bug.cgi?id=6904
Bug ID: 6904
Summary: List hg shares
Product: Mercurial
Version: 6.7.4
Hardware: PC
OS: NetBSD
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: mercurial-bugzilla at campbell.mumble.net
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
I have a large repository src.
I did `hg share src foo' and `hg share src bar'.
Now I have a directory with three subdirectories src, foo, and bar. But I also
have other repositories baz and quux, which are maybe clones or maybe
unrelated, and I lost track of these and forgot which is which.
How do I discover, by querying src, foo, bar, baz, and quux, which ones are
shares of the others?
By poking around in .hg I have empirically found that, from a share, I can
examine .hg/sharedpath to see what the source of the share is. Is this a
supported interface? Is there a supported hg command that displays this?
And, is there a way to list all the shares from src, like `git worktree list'?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list