vcutils

knitmodule

Generating RCS format history file from variant files

SYNOPSIS

knitmodule.pl [--author=author-name] [--commit-date=rfc3339-date] [--diff-command=diff] [--diff-option=diff-option] [-m "Commit log message"] [-d repository-directory] [-k keyword-substition] [--recursive] [--repository-filename=filename] target-file1 [target-file2, ...]

DESCRIPTION

knitmodule generates RCS format history file(s) from source file(s) that is/are version variant of something. RCS file(s) is/are created in directory specified by -d option, that defaults to ./CVS, with filename specified by --repository-filename, which defaults to target-file,v. If RCS file(s) already exist(s) in repository, target file is commited as the latest version (in trunk). Otherwise, new repository file is created. target-file might be a directory, in case --recursive option specified.

Target File With Date Suffixed Filename

When RCS file corresponding to the target file does not found, "date suffixed filename" files in the same directory as target file are collected and used to construct new repository file. "Date suffix" consists of a FULL STOP (.) and more than 13 DIGITs, representing date-time in UTC. "Date suffixed" variants are sorted by its date and logged as revisions in RCS file, just before target file is committed (as the latest version).

BUGS

SEE ALSO

rcsfile(5), splitrcs.pl, RCSFormat.pm

LICENSE

Copyright 2004 Wakaba <w@suika.fam.cx>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.