it's a simple question but i didn't found answers elsewhere. I need to delete a local Hg repository and all related files without deleting the code, is there a proper command? i thought that deleting the .hg folder wasn't enough. thanks
Removing the .hg folder is sufficient. You will lose the VCS metadata (project history, previous versions of all files), which is stored there.