I currently have a source file with two classes in it. I'd like to move one of them into a separate file. Is there any way to do this in a way similar to "hg mv" where Mercurial realizes the relationship between the new file and the part of the old file? Or does it have to look to Mercurial like a big chunk of one file was deleted and a brand new file was created? Is there some other best-practice I should be following here?
I will be very impressed if this kind of tracking actually exists, but it wouldn't be the first time Mercurial has pleasantly surprised me.