Every open source program comes with a vital instruction(s) that is
(are) deliberately left out of the documentation so as to differentiate
the pros from the newbies. In this case the svn documentation doesn’t
tell you straight out how to exclude files, which means that if you
blindly go ahead and import a standard rails directory structure you can
end up with massive and entirely useless log files in your repository
unless you do something about it.
After much hunting around the net, the documentation, the help lists
I’ve discovered a little talked about, but totally crucial command, svn
which has the useful comment in the help screens
svn:ignore - A newline separated list of file patterns to ignore.
Now that clearly tells everything a pro needs, but for a newbie like me
leaving out the issue of how to put a newline into a list of file
patterns when you’re typing from the command line renders the
instruction useless. Yes I admit it, I’m a total newbie I can’t put a
newline into a command line string without hitting the Enter key. Please
can someone tell me how to do it. I guess I could create a file of file
patterns I want ignored and pipe that in, but it seems a bit excessive.
I’m asking it here because it has to be a problem that everyone using
rails and svn must have run into. There’s virtually nothing about it