[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading files into CVS with a declared date

From: Mark D. Baushke
Subject: Re: Loading files into CVS with a declared date
Date: Tue, 25 Nov 2003 17:46:42 -0800

Hash: SHA1

Kevin Oberman <address@hidden> writes:

> I hope this is not a FAQ. 
> I have the job of transitioning a large archive from an in-house system
> to CVS. I have all of the tools to do the maintenance of the repository,
> but I need to load all of the historical data into my repository. I have
> the time-stamps when these files were entered into my archive and the
> change-log information.
> Is there any way to force a commit to put a timestamp on a commit? Any
> hacks to cvs to allow this? I guess what I want to do is:
> cvs commit -D "1997-10-23 20:45" file, but there is no such command.
> Any ideas?

Well, it is not perfect, but if you want to use 'cvs import', then

    cvs import -d

will use the file's modification time as the time of import.
Otherwise, you will need to write a script to convert your source
files into RCS files and use the 'ci -d[date]' option to get the
timestamp information into place that you want to keep.

        Good luck,
        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]