"date" revisionspec not returning exact revision when revision time zone differs from local time zone

Bug #131273 reported by Max Kanat-Alexander
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

Basically, if I do "bzr log -r1" on my machine, and then do "bzr log -rdate:" with the exact date of Revision 1, I get Revision 2 instead.

Here's exactly what I did:

[mkanat@es-compy vci]$ date
Thu Aug 9 03:28:15 PDT 2007

Note that I'm in PDT, which is -0700.

Revision 1:

[mkanat@es-compy vci]$ bzr log -r1
------------------------------------------------------------
revno: 1
committer: Max Kanat-Alexander <email address hidden>
branch nick: vci
timestamp: Sat 2007-08-04 22:17:04 -0500
message:
  First commit of VCI, the Version Control Interface. Right now this code doesn't do anything, and the documentation isn't finished, but the general framework is fairly fleshed-out.

With the same date:

[mkanat@es-compy vci]$ bzr log -rdate:2007-08-04,22:17:04,-0500
------------------------------------------------------------
revno: 2
committer: Max Kanat-Alexander <mkanat@es-compy>
branch nick: vci
timestamp: Sun 2007-08-05 18:43:41 -0700
message:
  Add more documentation, and re-work the API a bit. Added VCI::Abstract::Directory.

Revision history for this message
Max Kanat-Alexander (mkanat) wrote :

Oh, and I should mention that the server is in -0500. (The original import was done on the server itself, that's why it has that time zone.)

Aaron Bentley (abentley)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.