On Feb 12, 2007, at 5:05 PM, Tim Jones wrote:
On Feb 12, 2007, at 4:51 PM, [EMAIL PROTECTED] wrote:
On Feb 12, 2007, at 23:04 UTC, Tim Jones wrote:
I haven't tried it yet with the new version control format, but I
have
successfully used the XML format with svn for a long time.
TheXML version is tough to parse with large projects because the
ENTIRE project is one large file.
What? Not in my projects, it isn't. I make every project item
into an
external XML file. Version control would be pretty useless with it
otherwise.
And therein lies the secret - make each element external and then
export them as XML. I'll agree that this will work, but it's a lot
of work compared to what VCP is "supposed" to provide. I'll look
at making each element external, but even mys smallest project is
12 windows and 8 modules.
I converted one of the projects to XML external components. Created a
new local SVN repository. Checked out the saved version and then
reopened it in RB 2007r1. The first issue is that RB asked for the
location of every one of the XML modules since I checked the code out
into a different directory.
I opened one of my dialogs (WNoTape), changed the caption of one
pushbutton and saved the changes.
I entered a Terminal, cd'd into the new project folder and issues
"svn status" and was told that the WNoTape.xml and the main project
file were locally modified. I then performed a "svn diff
WNoTape.xml" and was greeted with 72 lines of differing code. How
could one changed caption result in 72 lines changed? After
examining eache changed line, it appears that RB doesn't always write
the data out to the XML file in the same order each save.
This is not an acceptable solution for real version control - even
when only ONE developer is working on a project.
So I ask again - if any of you have version control working with
either VCP or XML save formats, would you please share what steps
you've taken with both RB and SVN to get it working?
Tim
--
Tim Jones
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>