I demand that Johannes Stezenbach may or may not have written...
On Sat, Mar 28, 2009 at 04:05:55PM +0000, Darren Salt wrote:
[snip]
$ rm .hg/dirstate $ hg purge --all
Or better "hg update -C null".
Useful :-)
That gets rid of the working tree but retains all of the data necessary for use in a repository in which no actual development work takes place. (The working tree can be recreated, if needed, with "hg update".)
"hg push" doesn't create a working tree at the destination, thus there's nothing to get rid of.
True, but "hg clone" does. Although I see that it has an option "-U"...
[M-F-T set, as usual.]