Alex Rivera | Logout

How to delete local Hg repository

Asked 2011-05-13T11:27:07.230
31

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

Edit
Report

1 Answer

39

Removing the .hg folder is sufficient. You will lose the VCS metadata (project history, previous versions of all files), which is stored there.

answered 2011-05-13T11:36:09.270

Your Answer