Re: "svn diff" and "svn log" timestamp weirdness
Ben Collins-Sussman <[email protected]> Wed, 31 Aug 2005 13:49:13 -0500
| Newsgroups | gmane.comp.version-control.subversion.devel,gmane.mail.eyebrowse.user |
|---|---|
| Message-ID | <B82A6996-A50C-469E-9496-A773956AA56D__41499.1805716001$1125514351$gmane$org@collab.net> |
On Aug 31, 2005, at 1:39 PM, John Peacock wrote: > Ben Collins-Sussman wrote: > >> I suppose we could either (A) always store the svn:date property >> rounded off to the nearest second, or (B) when loading the >> svn:date property for comparison purposes, round it off to the >> nearest second (this would be in our rev_hunt() binary search >> algorithm...) >> > > The best solution is to do both now; round to seconds when > comparing, but stop storing subsecond precision. When 2.0 comes > out, change the search code to stop rounding and perform a last > rounding when updating the repository. > I agree! Can you submit a patch which does both things?