[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

"svn diff" and "svn log" timestamp weirdness

From: Todd A. Jacobs <nospam_at_codegnome.org>
Date: 2005-08-31 09:38:43 CEST

I'm running subversion 1.2.0-1 on Debian, and came across some
inexplicable behavior today. The log shows the timestamp of revision 18
as being "2005-08-30 18:01:35", but trying to diff the working version
against that timestamp says that there's no match. However, if I search
for "2005-08-30 18:01:36," which is one second later than the logged
commit, then it works. Is this a bug? What gives?

Here's the commands and relevent output:

    $svn log foo.html
    ------------------------------------------------------------------------
    r21 | nospam | 2005-08-30 18:19:13 -0700 (Tue, 30 Aug 2005) | 3 lines

    Updated keywords to only show LastChangedDate, as revision numbers won't
    be useful for this particular document.

    ------------------------------------------------------------------------
    r20 | nospam | 2005-08-30 18:13:41 -0700 (Tue, 30 Aug 2005) | 2 lines

    Added keywords to header comment.

    ------------------------------------------------------------------------
    r18 | nospam | 2005-08-30 18:01:35 -0700 (Tue, 30 Aug 2005) | 2 lines

    Initial import.

    ------------------------------------------------------------------------

    $svn diff -r{"2005-08-30 18:01:35"}
    svn: Unable to find repository location for 'foo.html' in revision 17

    $svn diff -r{"2005-08-30 18:01:36"}
    Index: foo.html
    ===================================================================
    --- foo.html (revision 18)
    +++ foo.html (working copy)
    [...diff snipped for brevity...]

-- 
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 31 09:40:34 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.