info-cvs
[Top][All Lists]
Advanced

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

Re: retro commits?


From: Bob Proulx
Subject: Re: retro commits?
Date: Tue, 24 Aug 2010 17:03:32 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

Martin Neitzel wrote:
> Now I want to bring the repository up-to-date by re-doing my commits.
> No problem in that, but if possible I'd like to do that with the
> original commit dates, too.  Like RCS's "ci -d" would do.
> 
> My current plan would be to do a normal "cvs ci" for each change set,
> each followed by manually editing the "date" line in the ,v repository
> file.  Is that OK?  Has someone else already gone through the required
> motions?

Personally I would probably commit all of the changes without regards
to the date and then edit the ,v files to update the relevant dates.
That seems reasonable since you say you are already planning on
editing those files.

Alternatively I would use libfaketime[1] to set the time and do local
commits.  You could script it to stat the file and use that timestamp
as the current time.

Bob

[1] http://www.code-wizards.com/projects/libfaketime/index.html



reply via email to

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