[Top][All Lists]

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

Re: source code for rcs57nt / cvs-1.9-win?

From: Laine Stump
Subject: Re: source code for rcs57nt / cvs-1.9-win?
Date: 27 Sep 2000 00:17:21 -0400
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Donald Sharp <address@hidden> writes:

> If you can't guarantee the correct time as you import than 
> you shouldn't import the time stamps( just say it's lost ).

Or, modify the script to first get the dates for every revision of a
file, then "normalize" all those dates, store them in an array, and
use those dates during the conversion. You could do something like:

   * start at the final revision - if its date is > current,
     set it to the current date
   * For each previous version, make sure its date is at most one
     second prior to the next higher revision's date.

As long as your only date problem is with dates set too far into the
future, this should give you something reasonably workable.

BTW, does this vss2rcs.js script handle updating already existing RCS
files with new revisions from VSS, or do you start over from scratch
every day?

reply via email to

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