hypen

Adding files that begin with a hyphen or dash to Subversion (SVN)

After working on a large project for about two months I was going through my usual pre-QA checklist and noticed that I had about 100 files that were converted over from the clients site that were not listed in svn.  I tried adding them one by one but kept getting the error "svn: invalid option character".   It turns out SVN doesn't like files that begin with dashes (or is it a hyphen?) which is understandable since it thinks it's an argument.

Syndicate content

User login