dubwiseの日記: CVS の Tips
「このページはちょっとエッチな猫娘チームの dubwise (17876)用です.」
複数のリビジョンをロックして、Commit できなくなった場合の対処...
↓こんなエラーが出る。
$ cvs commit -m (none) frmBYO0030.frx (ディレクトリ C:\Projects\byouri\Source\ 内)
Checking in frmBYO0030.frx;
/usr/home/hoge/cvs/byouri/Source/frmBYO0030.frx,v ← frmBYO0030.frx
cvs server: /usr/home/hoge/cvs/byouri/Source/frmBYO0030.frx,v: multiple revisions locked by hoge; please specify one
cvs server: could not check in frmBYO0030.frx
cvs server: could not unlock /usr/home/hoge/cvs/byouri/Source/frmBYO0030.frx,v
ロックの状態を参照
$ cvs log -h filename
RCS file: filename,v
Working file: filename
head: 1.1
branch:
locks: strict
username: 1.1
username: 1.1.1.1
access list:
symbolic names:
arelease: 1.1.1.1
avendor: 1.1.1
keyword substitution: b
total revisions: 2
リビジョンを指定して Unlock
$ cvs admin -uRevision No. filename
例)
$ cvs admin -u1.1.1.1 frmBYO0030.frx
RCS file: /usr/home/hoge/cvs/byouri/Source/frmBYO0030.frx,v
1.1.1.1 unlocked
done
あとは普通に Commit できる。
CVS の Tips More ログイン