How do I remove Mercurial .HG folder from project but still keep it under source control? -


i using visual studio 2010 , noticed when published project files in published directory under source control don't want. when looked @ 1 of other projects under source control noticed didn't have .hg folder , publishes without issue. removed .hg folder , able build , publish , files no longer under source control project isn't either. put .hg folder , i'm started. how remove .hg folder project still retain source control?

the .hg directory cannot removed. contains mercurial knows project. deleting directory removes source control.

add files don't want tracked .hgignore file in root of repository instead. see hgignore documentation format of file.


Comments