[cvsnt] Filenames with leading hyphens
Dave Muirhead
muirheadd at yahoo.com
Tue Aug 19 01:21:57 BST 2003
(Using CVSNT via cvs 1.11 client from bash shell
running in cygwin)
Attempting to execute:
$ cvs commit -213232.xml
results in the error message:
commit: invalid option -- 2
The leading hyphen in the filename is not surprisingly
being interpreted by cvs as signaling that an argument
to the "commit" command is to follow.
So how does one escape or quote a filename with a
leading hyphen? Or is a leading hyphen in a filename
simply not permitted (nevermind whether its a good
idea or not...)?
I've tried "cvs commit ./-213232.xml" and that doesn't
work. I've tried "cvs commit \-213232.xml" and that
doesn't work.
Thanks in advance.
Dave
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the cvsnt
mailing list