diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-03-14 03:33:31 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-03-14 03:33:31 +0000 |
commit | 60bcb76b5082163690969293bc23050d425fd0d2 (patch) | |
tree | 0b002f2284034955b28a4864da00f78557f16df1 /usr.bin/midiplay/Makefile | |
parent | 96f5855fa4eb93ddc3f1f3ff54da6154656c73de (diff) |
ci currently doesn't parse the -x flag at all, defaulting to ",v/" every
time. I rewrote checkin_choose_rcsfile() to handle it using these rules:
- If a directory structure is given (ci -x,abcd dir/dir2/file) then all
RCS files are under dir/dir2.
- If the RCS/ directory exists, use it. Otherwise use current directory.
- If the -x flag is specified, use those slash-separated extensions.
Otherwise, use the default (",v/").
- Look in the rcs directory (RCS/ or current directory) for a file
with a matching extension, for each extension. Each extension is
tried in order. If a file exists, it is used. If no file exists
with any extension, the first one is used.
- The empty extension is treated as no extension, because I can't
figure out what its special meaning is.
It sounds complicated, and the code is kinda complicated as well, but it
makes sense if you think about it.
ok niallo
Diffstat (limited to 'usr.bin/midiplay/Makefile')
0 files changed, 0 insertions, 0 deletions