Danek Duvall <danek.duvall at sun.com> writes: > While I think that you should go back and "hg mv" the files, I'll note that > webrev doesn't do the right thing here -- it will see the file as being > added and then removed, rather than moved.
If that's what actually happened, that is the right thing, isn't it? Can you give me more detail about that bit? (I'm so easily confused...) > As for how to go back and record the move, my guess is that the simplest > way is to add the file as it existed previously into a new changeset, then > recommit. That should make it look like the file wasn't touched. Then > set aside the destination file, hg mv the source to the destination, and > copy the correct new contents on top, then commit. > > Obviously try that out in a throwaway workspace first. :) I tried basically the same thing just now in a random test workspace: hg revert -r<revision in which it last existed> <original file> hg commit "Restore ..." <original file> rm <original file> hg mv -A <original file> <new file> It apppeared to do the right thing, but I didn't exactly look very hard at it -- Rich