.hg directory not hidden on Windows

Steve Borho steve at borho.org
Mon Jun 27 16:42:12 CDT 2011


On Sat, Jun 25, 2011 at 5:14 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Sat, 2011-06-25 at 17:12 -0500, Robert Altman wrote:
>> Since at least 1.8.2 I've noticed that .hg folders on Windows are no longer
>> hidden; last time I had checked (1.7.?), the .hg folder was hidden; is this
>> intentional?  If so, what would be the reason?
>
> Mercurial itself has never heard of the hidden bit in Windows. So if .hg
> has ever been hidden for you, some other tool did it (TortoiseHg?).

TortoiseHg has never set the hidden attribute either.  The only
"convenience" we offer is to optionally create empty .hgignore and
.hgtags files since Explorer will not let you create them.

-- 
Steve Borho


More information about the Mercurial mailing list