except OSError:
raise FatalException("can't create %s." % rcsdir)
if verbose >= DEBUG_SHUFFLE:
- announce("copying %s to %s" % (os.path.relpath(copyfile), path))
+ announce("linking %s to %s" % (os.path.relpath(copyfile), path))
if not dryrun:
- shutil.copy(copyfile, path)
+ try:
+ os.link(copyfile, path)
+ except OSError:
+ raise FatalException("refusing to step on %s." % path)
responsible = event.authors[0] or event.committer
command = "ci -q -l"
# If we were going to try to match committer or author
stdin into individual RCS master files in RCS subdirectories of the
corresponding directory structure.</para>
+<para>It is recommended that you run this in an empty directory, as it
+will terminate with error rather than stepping on files that already
+exist in the current directory.</para>
+
<para>With the -v option, emit a twirling-baton prompt during stream read, and
more progress messages during RCS writes.</para>