there's no equivalent to git clean, but
hg status -iu # to show
hg status -iun0 | xargs -r0 rm # to destroy
removes all the ignored (i) and unversioned (u) files that may be lying around (including emacs backup files etc, may be better to do make clean)
and then
hg update -C -r xxxxx
restores the state of the parent (note just -C puts you to tip rather than to where you are)
Tuesday, January 31, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment