You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Peacock <jp...@rowman.com> on 2005/09/01 01:08:26 UTC

Re: "svn diff" and "svn log" timestamp weirdness

Aaron Wood wrote:
> If so, then on unix, (If I understand 'nix time engines correctly)
> later is always later, so while the timestamp may contain a fictional
> level of accuracy, it's still precise for what it needs to be (later
> is actually later).  On windows, you can actually get some really ugly
> time movements as it doesn't have "time-warping" ability that I
> beleive all 'nix variants use to keep time flowing smoothly.

There are several ways that *nix time can also jump about, too.  Most *nix's can 
use skew (small adjustments) to move the hardware clock in response to external 
syncs, but even with xntp, you can tell it to jump instead.

See also this page:

	<http://cr.yp.to/proto/utctai.html>

for how localtime() and [x]ntp break during leap seconds.

The bottom line is that TAI is the only monotonically increasing time value 
available and that isn't what apr_time_t is using, so there is always going to 
be a certain level of uncertainty.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org