info-cvs
[Top][All Lists]
Advanced

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

Re: Loading files into CVS with a declared date


From: Kevin Oberman
Subject: Re: Loading files into CVS with a declared date
Date: Wed, 26 Nov 2003 15:41:23 -0800

> From: address@hidden (Paul Sander)
> Date: Tue, 25 Nov 2003 14:34:00 -0800
> 
> CVS has no such option, but RCS does.  The ci program, which creates a new
> revision in a ",v" file, can override the system time when storing a
> timestamp.  To use it, you must muck directly with the repsitory.
> 
> --- Forwarded mail from address@hidden
> 
> 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.
> 
> --- End of forwarded message from address@hidden

Thanks to all who replied, Paul Sander, Mark D. Baushke, and Allan
Schrum.

I think using ci to insert my files into an RCS repository looks like
the ticket. Can I then import the RCS repository into a cvs repository?
That looks like the a job for cvs import. Since the CVS repo is being
newly created and will be empty at the start, it looks like I can just
dump all of my files into the RCS repo and do an import into CVS. 

Am I reading the man pages correctly?

Thanks again and have a Happy Thanksgiving (even if you live in another
country and have never eaten cranberry sauce)!
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: address@hidden                  Phone: +1 510 486-8634




reply via email to

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