I've just had a chat with a SVN pro and the answer to all of my
issues appears to be two-fold:
1: The XML format is not useful as the ordering of the elements
within each file changes between saves
This was verified on saving old projects and brand new projects.
2: SVN and RB's Mac CR EOL will get along properly if the initial
import was made with the svn client config set properly for Mac's CR
EOL. This was apparently my issue as I'd imported the starting
points for my three test projects BEFORE I'd made the svn:eol-
style=native changes to my local user config file.
Here's the summary of how to get the VCP saved files with the Mac EOL
to properly work under OS X with a local SVN repository:
1: After you install the svn package onto your mac, run "svn help".
This first run creates your .subversion user data folder in your home
folder.
2: Open the .subversion/config file and make the following changes:
Un-comment the "enable-auto-props = yes" line under [miscellany]
Add these entries to the [auto-props] section
*.rbvcp = svn:eol-style=native
*.rbfrm = svn:eol-style=native
*.rbbas = svn:eol-style=native
*.rbmnu = svn:eol-style=native
Now, import your projects into your SVN repository.
With these steps, I've successfully imported my projects and gotten
started with version control using SVN. However, a few more items of
note:
After you checkout a project for the first time, open it in the IDE
and save it with no changes. Go back to the Terminal and run an "svn
status" on your project. You may see some files marked as
different. For sanity, simply ignore the report and perform a commit
to update the repository to THIS version of the files. From this
point forward, the saved version will properly track your real changes.
In addition to the expected changes in your code, the IDE appears to
make other, unexpected changes. I'm looking into these for a bug
report, but one that stands out is that my original code had all
booleans saved with quotes around the True and False. After changing
the Caption of one button, the new save changed some of these,
removing the quotes as you can see from the Enabled and Visible
properties here:
@@ -96,8 +96,8 @@
Caption = "Cancel"
Default = "False"
Cancel = "True"
- Enabled = "True"
- Visible = "True"
+ Enabled = True
+ Visible = True
HelpTag = ""
AutoDeactivate = "True"
TextFont = "System"
Finally, be aware that as you change active tabs, reorder the tabs or
change other visual elements in the IDE, the main project rbvcp file
will also show up as modified.
Hopefully, I've shared a bit of clarity in addition to my earlier
confusion. This doesn't change my request for Unix EOL as a
preference option for saving the VCP files as while this gets things
working with SVN, it still causes problems with all of the other
command line tools such as diff and patch.
Thanks to those of you that responded.
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>