tags:

views:

24

answers:

2

Hello.

I'm movimg a repository from sourcesafe to subversion and i need to ensure that vital points are equal. Is it any existing command / tool for windows that allows me to compare two folder trees that they are equal (has equal folder structure and files of same content)? The ideal will be something command-line like:

some_cool_compare c:\current_vss c:\current_svn -exclude .svn;*.vspscc;*.scc

Is it some tool / command exist or i need to write a script of my own?

+1  A: 

If you can use a GUI tool, the best I tried is WinMerge (http://winmerge.org) - open source.

If not, then diff is your friend (e.g. http://gnuwin32.sourceforge.net/packages/diffutils.htm)

Palantir
GUI tools are good, but currently i have a batch file that check outs vital points for both sourcesafe and subversion, and it's a lot of such points. Integrating a command-line tool to the test will be preferable.
Eye of Hell
then... diff is your friend... something like this: http://gnuwin32.sourceforge.net/packages/diffutils.htm
Palantir
+2  A: 

Beyond compare allows you to do that and much more.

It's one of those tools I can't live without.
Take a look here for a reference on the scripting options

Lieven