Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1650] New - "Team -> Add to svn:ignore" does not correctly escape file names

subclipse
Discussion topic

Hide all messages in topic

All messages in topic

[Issue 1650] New - "Team -> Add to svn:ignore" does not correctly escape file names

Author gohrner
Full name Gunter Ohrner
Date 2016-04-08 04:07:31 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1650
                 Issue #|1650
                 Summary|"Team -> Add to svn:ignore" does not correctly escape
                        |file names
               Component|subclipse
                 Version|1.10.x
                Platform|All
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|UI
             Assigned to|issues@subclipse
             Reported by|gohrner






------- Additional comments from gohrner at tigris dot org Fri Apr 8 04:07:30 -0700 2016 -------
Subclipse 1.10.13

Apparently, adding file name patterns to svn:ignore using "Team -> Add to
svn:ignore" does not always correctly escape file names.

I had an actual file called "C:\nppdf32Log\debuglog.txt" which I wanted to
ignore. (This file is generated due to a bug in Adobe Reader for Linux or its
browser plugin.)

Selecting the abovementioned menu entry added the literal string
"C:\nppdf32Log\debuglog.txt" to the svn:ignore property, which did have the
desired effect.

Apparently, backslashes need to be escaped, so "C:\\nppdf32Log\\debuglog.txt"
should have been added instead.

Unfortunately, I could not find documentation concerning this escaping behaviour
for svn:ignore to back my observations.
Messages per page: