I have on two occasions had two lines of code transposed on an SVN Tortoise 
checkout. In both cases the code was VB6.  In each case an Exit command was 
transposed with an End If line.  The code below  provides an example.

' Case 1: End if Swapped with Exit For
For ...
      If ... Then
            ...
            Exit For
      End If
Next

' Case 2: End if Swapped with Exit Property
If ... Then
      ...
End If
Exit Property

On checkout to one computer the code was transposed as:

' Case 1: End if Swapped with Exit For
For ...
      If ... Then
            ...
      End If
            Exit For
Next

' Case 2: End if Swapped with Exit Property
If ... Then
      ...
Exit Property
End If

Additional detail:
In each case I checked the same baseline out on a second computer and the lines 
were not swapped.
I reversed the lines to correct for the error, and did a DIFF, which showed the 
line order correct.
I checked in and did a DIFF between the current code and the original revision, 
no differences were found.

We have not been able to repeat this problem.  But since the issue involves End 
If with Exit commands, different baselines, different users, and different SVN 
repositories, I'm at a loss on where to look next.

Jeff Abbott
Systems Architect
CAE Professional Services
2603 discovery drive, Orlando, fl 32826
Orlando, FL 32817
jeff.abb...@caemilusa.com<mailto:jeff.abb...@caemilusa.com>
Work: 407-745-2605
Cell: 407-222-7909

"We are often better served by connecting ideas than we are by protecting them."
-Steven Johnson, Where Good Ideas Come From: The Natural History of Innovation




***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please 
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***

Reply via email to