Removing a file from a mercurial repository without deleting it: 
hg rm -A.
Example:
hg rm -A dir/*
I think this works.  The docs aren't exactly clear on the point:
http://www.selenic.com/pipermail/mercurial/2007-April/012917.htmlIf you use 
hg rm file, it just deletes the file.
Labels: hg