RE: AW: AW: Re: Properties and svn:ignore
From: Gerald Britton <gerald.britton_at_gmail.com>
Date: Fri, 11 Nov 2011 06:04:05 -0800 (PST)
> Hi,
Yes. that's exactly what I'm doing. My question was if blank lines were allowed in the ignore list. By that I meant vertical white space. All these would fit (using '\n' to show where the line ends):
\n
etc.
However, Windows has restrictions on filename characters (http://support.microsoft.com/kb/177506):
A filename cannot contain any of the following characters:
Now thinking about what I want to do: insert comments in the ignore list, could I begin a line with something that will both call out the command and not match a valid filename?
/ and \ are used as directory separators so they're a bad idea.
* and ? are globbing characters, so they're out.
" is used to mark beginning and end of filenames containing spaces. Forget that one.
< > and | are used for pipes so might be confusing
that leaves the :, colon. It's allowed in unix filenames but uncommon (probably even rare. I've never seen it used deliberately). So If I used that in my ignore list, I might have something like:
: executables
: generated by IDE
Make sense? Any better ideas?
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.