--- Begin Message ---
Subject: |
Bug#130595: cvs doesn't like files that start with - |
Date: |
Wed, 23 Jan 2002 17:16:52 -0600 (CST) |
Package: cvs
Client-Version: 1.10.7-7
Server-Version: 1.11.1p1-1
===
adam@yakko:~/code/erector-set/tmp$ touch ./---bar
adam@yakko:~/code/erector-set/tmp$ cvs add ---bar
add: invalid option -- -
Usage: cvs add [-k rcs-kflag] [-m message] files...
-k Use "rcs-kflag" to add the file with the specified kflag.
-m Use "message" for the creation log.
(Specify the --help global option for a list of other help options)
adam@yakko:~/code/erector-set/tmp$ cvs add -- ---bar
cvs server: invalid option -- -
Usage: cvs server [-k rcs-kflag] [-m message] files...
-k Use "rcs-kflag" to add the file with the specified kflag.
-m Use "message" for the creation log.
(Specify the --help global option for a list of other help options)
adam@yakko:~/code/erector-set/tmp$ cvs add ./---bar
cvs server: scheduling file `./---bar' for addition
cvs server: use 'cvs commit' to add this file permanently
adam@yakko:~/code/erector-set/tmp$ cvs ci -m bar -- ---bar
cvs server: invalid option -- -
Usage: cvs server [-nRlf] [-m msg | -F logfile] [-r rev] files...
-n Do not run the module program (if any).
-R Process directories recursively.
-l Local directory only (not recursive).
-f Force the file to be committed; disables recursion.
-F logfile Read the log message from file.
-m msg Log message.
-r rev Commit to this branch or trunk revision.
(Specify the --help global option for a list of other help options)
adam@yakko:~/code/erector-set/tmp$ cvs ci -m bar -- ./---bar
cvs server: invalid option -- -
Usage: cvs server [-nRlf] [-m msg | -F logfile] [-r rev] files...
-n Do not run the module program (if any).
-R Process directories recursively.
-l Local directory only (not recursive).
-f Force the file to be committed; disables recursion.
-F logfile Read the log message from file.
-m msg Log message.
-r rev Commit to this branch or trunk revision.
(Specify the --help global option for a list of other help options)
adam@yakko:~/code/erector-set/tmp$ touch bar
adam@yakko:~/code/erector-set/tmp$ cvs add bar
cvs server: scheduling file `bar' for addition
cvs server: use 'cvs commit' to add this file permanently
adam@yakko:~/code/erector-set/tmp$ cvs ci -m bar bar ---bar
RCS file: /cvs/utils/erector-set/tmp/bar,v
done
Checking in bar;
/cvs/utils/erector-set/tmp/bar,v <-- bar
initial revision: 1.1
done
RCS file: /cvs/utils/erector-set/tmp/---bar,v
done
Checking in ---bar;
/cvs/utils/erector-set/tmp/---bar,v <-- ---bar
initial revision: 1.1
done
===
This causes real issues. Any time '---bar' is changed, you can't check in the
modification, unless you ALSO modify some other normal file.
--- End Message ---