I had this problem recently and I don't think you need restore the files - just the directory.
I used hg mv to relocate the files but because *all* files were moved out
of the directory  so hg deleted the directory. It was sufficient to
mkdir <the-old-dir> again for webrev to properly recognise the files as moved.

-phil.

On 11/4/2013 9:27 AM, David DeHaven wrote:
Unfortunately, WebRev is not very intelligent at presenting these changes. :-( I have 
made modifications to files that I have also moved, but WebRev just lists these files as 
"New" without any reference or diff with the original file. I don't know if if 
is possible to get an improved behaviour. I'm using the -f flag, on a repo that is cloned 
locally from the one I based the previous review on.
Is it complaining that it can't find the old versions? In those cases if you 
temporarily restore the old file then webrev should be able to show a diff of 
the content changes too, as long as the old version doesn't become re-managed. 
You could use rsync to restore the old files from a pristine clone, then hg 
purge to nuke when done.

-DrD-


Reply via email to