旧版TortoiseHG仓库注册表中带S的Mercurial图标含义咨询
Ah, I remember this quirk from the older TortoiseHG releases! Let's clear up what that "S" icon means and how it differs from the regular Mercurial icon:
What the "S" Stands For
The "S" denotes a Shared Repository—this is a TortoiseHG-specific UI marker, not a core Mercurial feature. Back in the 2.x series, this was designed to visually distinguish repositories meant for multi-user collaboration from your local, personal clones.
Key Differences from the Regular Icon
- Regular Mercurial Icon: Represents a standard, standalone local repository. By default, these are treated as your personal workspace, where TortoiseHG allows more history-modifying operations (like
striporrollback) without extra warnings. - Icon with "S": Marks a repository tagged as shared. This triggers two main behavior changes in TortoiseHG:
- It adds warnings or disables high-risk operations that could disrupt other collaborators (since shared repos are often used as central hubs for a team).
- It serves as a visual reminder that this repo is meant to be pushed to/pulled from by multiple people, so you should be more cautious with history edits.
Why It Seems to Appear "Randomly"
The "S" tag isn’t automatic in all cases—here’s why it might pop up without you noticing:
- You manually enabled the "Shared" setting in the repository’s TortoiseHG properties (check the repo registry’s options for this toggle).
- You cloned the repo from another repository that was already marked as shared—TortoiseHG inherits this setting by default.
- Some older workflows or scripts might have toggled this flag behind the scenes.
Important Note
As you noticed, this tag doesn’t alter the underlying Mercurial repository structure at all. It’s purely a UI hint and a way for TortoiseHG to adjust its default operation behavior to suit collaborative use cases.
内容的提问来源于stack exchange,提问作者bleuthoot

