Windows Compressed Folders avoids Mercurial repo folder .hg

Creating a zip file using Send To -> Compressed folder excludes .hg folder on Windows 7. The same behavior is seen in XP. Is it because folder name starts with a dot ?

Mercurial creates .hg folder to hold the repository. Whenever the working folder is zipped, it leaves .hg folder out of compressed .zip file.


Try using 7-zip or another archival utility to compress the files, since Windows doesn't generally like filenames starting with ..

Yes zip skips compressing the floders that start with "." on windows below version 7

See : How does WinXP's "Send to Compressed (zipped) Folder" decide what to include in zip file?

I would suggest that you tar the file before you zip it. This way you will ensure that those folders are included. Tar handles them.

Need Your Help

How to prepare ./configure make make install for my C file when it has other dependencies?

c windows makefile centos autoconf

Writing/reading code seems less stress then preparing a deploy scripts such as ./configure then make and make install for my C application's. How can i make a ./configure file and make files for this

Trouble creating Security-Scoped Bookmark

objective-c osx osx-lion nsopenpanel appstore-sandbox

I'm converting my Lion app to use the App Sandbox. I'm trying to make use of the security-scoped bookmarks feature introduced in 10.7.3 to allow persistent access to a folder. The code I have below

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.