docs:tips_n_tricks:rcs.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
docs:tips_n_tricks:rcs.html [12.10.2011 12:23 CEST] – peter | docs:tips_n_tricks:rcs.html [19.11.2013 14:17 CET] – peter | ||
---|---|---|---|
Line 32: | Line 32: | ||
rcsdiff -r1.2 -r1.4 hosts | rcsdiff -r1.2 -r1.4 hosts | ||
+ | ===== Recover from errors ===== | ||
+ | ==== rcs: RCS file RCS/XXX,v is in use ==== | ||
+ | After a crash of one of the rcs binaries, the folloing situation might arise: | ||
+ | |||
+ | ~ $ rcs -u1.1.1.1 abcd | ||
+ | rcs: RCS file RCS/abce,v is in use | ||
+ | ~ $ | ||
+ | | ||
+ | The cure is to remove a semaphore file: | ||
+ | |||
+ | ~ % ls -la RCS | ||
+ | total 8 | ||
+ | -r--r--r-- 1 user users 0 Nov 19 14:00 ,abcd, | ||
+ | drwxr-xr-x 2 user users 4096 Nov 19 14:00 ./ | ||
+ | drwxr-xr-x 3 user users 4096 Nov 19 13:59 ../ | ||
+ | -r--r--r-- 1 user users 2665 Nov 19 14:00 abcd,v | ||
+ | ~ $ rm -i RCS/,abcd, | ||
+ | rm: remove regular empty file `RCS/, | ||
+ | ~ $ rcs -u1.1.1.1 grub | ||
+ | RCS file: RCS/abcd,v | ||
+ | 1.1.1.1 unlocked | ||
+ | done | ||
+ | ~ $ |
docs/tips_n_tricks/rcs.html.txt · Last modified: 13.01.2024 11:56 CET by peter