[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 |
-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/xAYC3x41pRYZE/gRAjBHAJ46sPC9icINMSTvUflNK115k1Y3vACdHzMH
XsfU8vYlSLjCOjiPW64OxPk=
=ytdK
-----END PGP SIGNATURE-----