Using a full-fledged diff tool like diffmerge or kdiff3 (both free) you can easily check the differences by comparing the output files of the following batch file. As it is, you need to provide the two directories as arguments, but you may as well set those directly in the SET dir...
lines - e.g. SET dir1=c:\svn
and SET dir2=c:\hg
. The script removes the path prefix from the filenames which would otherwise differ on all lines.
@ECHO OFF
SetLocal EnableDelayedExpansion
SET dir1=%1
SET dir2=%2
ECHO. 2>dir1.txt
ECHO. 2>dir2.txt
FOR /f "tokens=*" %%F IN ('DIR /s /b /o:n %dir1%') DO (
SET tmp=%%F
ECHO !tmp:%dir1%\=! >> dir1.txt
)
FOR /f "tokens=*" %%F IN ('DIR /s /b /o:n %dir2%') DO (
SET tmp=%%F
ECHO !tmp:%dir2%\=! >> dir2.txt
)
EndLocal
Then just diff the two output files dir1.txt
and dir2.txt
:
kdiff3 dir1.txt dir2.txt
DIR /b /s [subversion_directory] > svndir.txt & DIR /b /s [mercurial_directory] > hgdir.txt & [your_diff_tool] svndir.txt hgdir.txt
/o:n
for sorting should be added to bothdir
commands.