[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: Paul Sander
Subject: Re: Loading files into CVS with a declared date
Date: Wed, 26 Nov 2003 13:55:29 -0800

>--- Forwarded mail from address@hidden

>> 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

>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?

Do not run "cvs import" on RCS files; you'll end up versioning the RCS
files themselves, which is probably not what you want.  Instead, just copy
the RCS files into your CVS repository, in whatever shape your source tree
demands.  Then write your modules database to suit.

>--- End of forwarded message from address@hidden

reply via email to

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