# even destroyed as long as you don't tell anyone you wrote it."
# Those were more innocent days. This version is released under MIT terms.
#
-# Things to note:
+# Ken's things to note:
# + It will NOT delete or alter your ./SCCS history under any circumstances.
#
# + Run in a directory where ./SCCS exists and where you can create ./RCS
# Also (for the brave only) you might consider hacking
# the s-file for simpler problems: I've successfully changed
# the date of a delta to be in sync, then run "sccs admin -z"
-# on the thing.
+# on the thing [to regenerate its checksum].
+#
+# Eric's history:
#
# 1.1: I added some portability fixes and the -u option. More importantly,
# I removed the dependencies on the BSD/SV `sccs' utility; this script
# reverse large files properly.
#
# 1.3: Merges in Brian Berliner's branch hack from the other fork
-# of this script, the one distributed with CVS. That and 4 SCCS
+# of this script, the one distributed with CVS. That and four SCCS
# keyword substitutions were we only thing it did that this didn't.
#
# 1.4: Python rewrite describe aboved. Interface cleanup. Auto-checkout
# of RCS workfiles corresponding to SCCS workfiles present when started.
+# Lifting of VC mode snapshot info. Initial-comments file.
#
# Eric S. Raymond <esr@thyrsus.com>
#
die(filename + " is locked for edit...unlock before converting.")
if os.path.isdir("RCS"):
warn("RCS directory already exists.")
- #if len(os.listdir("RCS")) > 2: # Allow . and ..
- # die("RCS directory is nonempty.")
+ if len(os.listdir("RCS")) > 2: # Allow . and ..
+ die("RCS directory is nonempty.")
else:
try:
os.mkdir("RCS")