Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tm-dev] Method to verily correctness of cvs-to-git migration results

Hi All,
I suggest the following method to verify the correctness of the git
migration results.
We will be comparing HEAD to master and R3_2_maintenance branches in
both cvs and git(by special request from IBM).

I used the following commands for HEAD verification:

$ git clone git://git.eclipse.org/gitroot/tm/org.eclipse.tm
$ mkdir cvs.HEAD-2012-10-10; cd cvs.HEAD-2012-10-10
$ cvs -d :pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/tools checkout -D
"2012-10-10 00:00" org.eclipse.tm.core org.eclipse.tm.rse

$ diff -r org.eclipse.tm.rse/ ../org.eclipse.tm/rse/ | grep -v "CVS$"
Only in org.eclipse.tm.rse: .cvsignore
Only in org.eclipse.tm.rse: .project
Only in org.eclipse.tm.rse: releng

We will ignore these, since we don't care about .cvsignore and
.project files and releng module was moved and will be checked
separately.

$ diff -r org.eclipse.tm.rse/releng/ ../org.eclipse.tm/releng/ | grep -v "CVS$"

$ diff -r org.eclipse.tm.core/discovery/ ../org.eclipse.tm/discovery/
| grep -v "CVS$"

$ diff -r org.eclipse.tm.core/wince/ ../org.eclipse.tm/wince/ | grep -v "CVS$"

$ diff -r org.eclipse.tm.core/terminal/ ../org.eclipse.tm/terminal/ |
grep -v "CVS$"

diff -r org.eclipse.tm.core/terminal/org.eclipse.tm.terminal.local/src/org/eclipse/tm/internal/terminal/local/ILocalTerminalSettings.java
../org.eclipse.tm/terminal/org.eclipse.tm.terminal.local/src/org/eclipse/tm/internal/terminal/local/ILocalTerminalSettings.java
22c22
<  * @version $Revision: 1.1 $
---
>  * @version $Revision: 1.3 $

The only difference it has is the cvs revision number as above; the
rest is identical.

The following commands are for R3_2_maintenance branch verification:

$ cd ../org.eclipse.tm/
$ git branch R3_2_maintenance remotes/origin/R3_2_maintenance
$ git checkout R3_2_maintenance
$ cd ..
$ mkdir cvs.R3_2-2012-10-10; cd cvs.R3_2-2012-10-10
$ cvs -d :pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/tools checkout -r
R3_2_maintenance -D "2012-10-10 00:00" org.eclipse.tm.core
org.eclipse.tm.rse

diffs are the same as for HEAD-master.

Anna.


Back to the top