How do I clean out my working copy?

Jeff Sipek jeffpc at optonline.net
Mon Aug 15 07:50:50 CDT 2005


On Wed, Aug 10, 2005 at 07:20:30PM -0400, Chuck Ebbert wrote:
> 
>   I want to clear out my working directory.  Is this a good procedure?
> 
>     1.  Delete everything except .hg/ and .hgtags.
>     2.  Overwrite .hg/dirstate with a zero-length file.

Also, don't delete your .hgignore file (yes, it is version controlled,
but it is handy to have it checked out at times ;-) )

Jeff.


More information about the Mercurial mailing list