Re: Subversion history problem

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.gnome.hackers
Message-ID <Pine.LNX.4.58.0602261311280.6400__19241.4052006372$1140978357$gmane$org@epoch.cs>
On Sun, 26 Feb 2006, Ross Golder wrote:

> Around about line 4519 in cvs2svn is a piece of code that checks that
> the previous revision's timestamp is lower than the current revision's
> timestamp, and that the current revision's timestamp is lower than the
> next revision's timestamp and spits out a warning if not. We can add our
> hook here to adjust the current revision's timestamp by our fixed
> amount.
>
> It might need testing a few times on a couple of the identified modules
> to fine-tune our fixed amount to a resolution of at least a few minutes
> (or until there are no more warnings).
>
> Can anyone see why this wouldn't work, or a better/quicker way to do it?
> (pref before I start hacking ;^))

A faster alternative may be to simply pick a date say ten minutes
after the previous commit...  The period that the clock was
skewed is short right?  And do we really care when exactly a
patch was committed three years ago?


> --
> Ross

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.