darcs

Issue 187 Extend partial date matching to hours, minutes, secs.

Title Extend partial date matching to hours, minutes, secs.
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List E.Y.Kow, Serware, darcs-devel, dmitry.kurochkin, jaredj, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics Darcs2, ProbablyEasy

Created on 2006-06-18.18:31:14 by kowey, last changed 2009-10-23.23:31:46 by admin.

Messages
msg707 (view) Author: kowey Date: 2006-06-18.18:31:12
A user on IRC noted that he had problems with darcs get --to-match.  His log is
below:
I'm having a problem getting using --to-match and a specific date

transcript of shell activity follows
----------
[orig]$ pwd
darcs-test/orig
[orig]$ darcs changes
Sun Jun 18 14:14:03 EDT 2006  Fred Bloggs <fred@bloggs.invalid>
  * Changes 02

Sun Jun 18 14:12:32 EDT 2006  Fred Bloggs <fred@bloggs.invalid>
  * Changes 01

Sun Jun 18 14:11:43 EDT 2006  Fred Bloggs <fred@bloggs.invalid>
  * Initial revision.
[orig]$ cd ..
[darcs-test]$ darcs get --to-match 'date "Sun Jun 18 14:11:43 EDT 2006"' orig new
Copying patch 3 of 3... done!
Unapplying 0 patches.
Finished getting.
[darcs-test]$ cd new
[new]$ darcs changes
Sun Jun 18 14:14:03 EDT 2006  Fred Bloggs <fred@bloggs.invalid>
  * Changes 02

Sun Jun 18 14:12:32 EDT 2006  Fred Bloggs <fred@bloggs.invalid>
  * Changes 01

Sun Jun 18 14:11:43 EDT 2006  Fred Bloggs <fred@bloggs.invalid>
  * Initial revision.

Annotations for this paste:

Annotation number 1: 	get problem (more)
Pasted by: 	Dino_
	5 seconds ago
	Context in IRC logs
Paste contents: 	Raw Source
[new]$ darcs --exact-version
darcs compiled on Apr 15 2006, at 14:34:51
# configured Tue Feb 28 07:02:39 EST 2006
./configure --no-create --no-recursion

Context:

[TAG 1.0.6
Tommy Pettersson <ptp@lysator.liu.se>**20060228111841] 

----

Note that I can replicate the same behaviour with darcs 1.0.8.  Note also that
darcs works as expected when the dates are somewhat far apart, that is, not down
to the minute like this one.
msg2407 (view) Author: markstos Date: 2008-01-10.03:30:13
This bug is superceded by issue31, which now reports basic brokenness for date
parsing with Darcs2.

Once that bug is fixed, we'll see if there is more to do here.
msg3408 (view) Author: kowey Date: 2008-02-14.13:35:30
I bet the underlying causes of this are improved with the issue31 fixes, but
there are still a choice between two ways we can close this ticket:

(a) fix the documentation bug - the documentation does not make it sufficiently
clear that darcs only supports matching up to the same day

(b) implement a wishlist item - date matching should allow for finer granularity
matches.  We already have the code for partial dates, but it needs to be
extended for times as well as dates, and also for non ISO dates
msg3412 (view) Author: markstos Date: 2008-02-14.16:37:49
I'm fine with the doc-bug resolution for now. We have enough other open issues
which can only be resolved with programming to worry about.
msg4806 (view) Author: kowey Date: 2008-05-21.10:33:25
Doc note: the confusing bit here being that time-based matching works for
intervals, but not for simple date matches.
msg4843 (view) Author: E.Y.Kow Date: 2008-05-23.10:22:57
The following patch updated the status of issue187 to be resolved:

* Resolve issue187: Extend partial date matching to hours, minutes, secs.
History
Date User Action Args
2006-06-18 18:31:14koweycreate
2008-01-10 03:30:15markstossetstatus: unread -> has-patch
topic: + Darcs2
superseder: + Match ISO-8601 dates
messages: + msg2407
nosy: + beschmi, markstos
2008-02-14 13:35:31koweysetnosy: droundy, tommy, beschmi, kowey, markstos
superseder: - Match ISO-8601 dates
messages: + msg3408
2008-02-14 16:37:50markstossetnosy: droundy, tommy, beschmi, kowey, markstos
messages: + msg3412
2008-05-21 10:33:29koweysettopic: + ProbablyEasy
nosy: + Serware, dagit, jaredj, - droundy
messages: + msg4806
title: unknown date matching issue (old_date_time?) -> wish: make it clearer that ISO date matching is only granular to day-level
2008-05-23 10:22:59E.Y.Kowsetstatus: has-patch -> resolved-in-unstable
nosy: + E.Y.Kow
messages: + msg4843
title: wish: make it clearer that ISO date matching is only granular to day-level -> Extend partial date matching to hours, minutes, secs.
2008-08-05 23:27:09koweysetstatus: resolved-in-unstable -> resolved
nosy: tommy, beschmi, kowey, markstos, dagit, jaredj, E.Y.Kow, Serware
2009-08-06 18:23:12adminsetnosy: + dmitry.kurochkin, simon, thorkilnaur, - markstos, jaredj, E.Y.Kow, Serware
2009-08-06 20:50:12adminsetnosy: - beschmi
2009-08-10 21:52:02adminsetnosy: + markstos, Serware, E.Y.Kow, jaredj
2009-08-10 23:54:26adminsetnosy: - dagit
2009-08-25 18:09:25adminsetnosy: + darcs-devel, - simon
2009-08-27 14:01:44adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, jaredj, dmitry.kurochkin, E.Y.Kow, Serware
2009-10-23 22:46:18adminsetnosy: + serware, - Serware
2009-10-23 23:31:46adminsetnosy: + Serware, - serware