You have just described why we gave that up when we tried it a few
years ago. Forget version control with RB's XML format, it's just a
text version of their binary project format, with all the metadata and
other junk that will clog any attempt to use versioning. They
wouldn't have come up with a VCP format if it could be done with the
XML.
Math
On 2/14/07, Tim Jones <[EMAIL PROTECTED]> wrote:
Hi Folks,
After giving up on the VCP saves for version control for the time
being, I've taken Joe's input and converted one of my projects to use
all external XML modules. These files do have the proper Unix LF
EOL, so all of the command line tools are now happy. However, I've
run into a situation that makes using this process unacceptable for
version control - when I make a simple change in a control on a
window, more that just that change gets written differently within
the window's XML file. Instead of having one line of content
different (i.e.:
< <PropertyVal Name="Caption">Cancel</PropertyVal>
> <PropertyVal Name="Caption">No</PropertyVal>
when I changed the Caption of a control from "Cancel" to "No" ).
Instead, in this last test, 43 lines were different - not because of
a change, but because the order of the lines is different when they
are saved the second time. Additionally, if I save changes 10 time,
the order of the XML lines changes in additional different ways.
I've even seen additional ItemDef's added to the code against the
original save (both from 2007r1):
> <ItemDef>11 - Modeless Dialog</ItemDef>
When in the previous save, there have only been ItemDef 0 - 10
entries for that window. I'm reporting that as a separate bug:
http://www.realsoftware.com/feedback/viewreport.php?reportid=mmvehunq
But curiously, before I could complete this email, they marked the
report as "Not a Bug" with a comment of "The modeless dialog frame
type is a new REALbasic feature." However, since both the original
version and the new edit were saved by 2007r1, how could a new
feature have been added between my saves?
To Joe: are you never seeing this kind of goof in your saves?
I've seen this reported in:
http://www.realsoftware.com/feedback/viewreport.php?reportid=ssbxssem
However, while not ALL of the files are marked as changed, In a few
instances of my testing, more than just the changed file is somehow
changed.
I've updated the report to indicate that it still happens in 2007r1.
I've grown very frustrated with this and would love to know how the
REAL engineers are performing version control on their work that is
actually written in REALbasic. Please share with the rest of us.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>