5 | | I just demonstrated to myself that the latest version of TortoiseSVN messes up the files so they won't compile under Cygwin, but using SVN from the command line did not. So, like John, I will now mostly use the command line SVN. |
| 5 | I just demonstrated to myself that the latest version of TortoiseSVN messes up the files so they won't compile under Cygwin, but using SVN from the command line did not. I tried to edit the config file for TortoiseSVN [Settings, Subversion configuration file: Edit] like this: |
| 6 | |
| 7 | {{{ |
| 8 | [auto-props] |
| 9 | ### The format of the entries is: |
| 10 | ### file-name-pattern = propname[=value][;propname[=value]...] |
| 11 | ### The file-name-pattern can contain wildcards (such as '*' and |
| 12 | ### '?'). All entries which match will be applied to the file. |
| 13 | ### Note that auto-props functionality must be enabled, which |
| 14 | ### is typically done by setting the 'enable-auto-props' option. |
| 15 | makefile = svn:eol-style=LF |
| 16 | *.h = svn:eol-style=LF |
| 17 | *.F = svn:eol-style=LF |
| 18 | *.sh = svn:eol-style=LF |
| 19 | *.bash = svn:eol-style=LF |
| 20 | *.mk = svn:eol-style=LF |
| 21 | *.in = svn:eol-style=LF}}} |
| 22 | |
| 23 | But it did not help. Plus, I am not sure whether this would mess up real Windows users if these file properties were transferred to the repository. I suspect the svn:eol-style=native that has been assigned in the repository overrides this, and "Native" means "Windows" to TortoiseSVN. Never had this problem before. |
| 24 | |
| 25 | So, like John, I will now mostly use the command line SVN. |