[darcs-users] Discrepancies in darcs changes --from-match='date ...'

Michael G Schwern schwern at pobox.com
Sun Apr 3 00:59:13 UTC 2005


I'm hitting some odd behaviors with "darcs changes --from-match" involving 
dates.  It seems to be missing patches.  For example...

0 /usr/local/src/darcs-unstable$ darcs changes --from-match='date "last week"' 
Sat Apr  2 14:32:35 PST 2005  David Roundy <droundy at abridgegame.org>
  * remove debug output from annotate failure message.

0 /usr/local/src/darcs-unstable$ darcs changes --from-match='date "Sat Apr  2 01:00:00 PST 2005"'
Sat Apr  2 14:32:35 PST 2005  David Roundy <droundy at abridgegame.org>
  * remove debug output from annotate failure message.

I know for sure there's a bunch of patches in the change log on April 2nd.

0 /usr/local/src/darcs-unstable$ darcs changes | head | grep 200
Sat Apr  2 14:32:35 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 12:53:29 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 12:19:02 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 06:42:36 PST 2005  Mark Stosberg <mark at summersault.com>


Other oddities...

0 /usr/local/src/darcs-unstable$ darcs changes --from-match='date "Sat Apr  1 01:00:00 PST 2005"' | grep 200
Sat Apr  2 14:32:35 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 12:53:29 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 12:19:02 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 06:42:36 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 05:26:27 PST 2005  Mark Stosberg <mark at summersault.com>
Sun Mar 20 12:07:12 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 10:47:40 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 05:07:13 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 05:03:20 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 04:58:18 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 17:48:54 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 17:42:31 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 05:47:48 PST 2005  Mark Stosberg <mark at summersault.com>

What's a patch from March 20th doing there?  Also note the discrepency between
the patches returned above and the grep which I would figure would be
equivalent.

0 /usr/local/src/darcs-unstable$ darcs changes | grep '\(Fri Apr  1\|Sat Apr  2\)' | grep 200 
Sat Apr  2 14:32:35 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 12:53:29 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 12:19:02 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 06:42:36 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 05:26:27 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 10:47:40 PST 2005  David Roundy <droundy at abridgegame.org>
Sat Apr  2 05:07:13 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 05:03:20 PST 2005  Mark Stosberg <mark at summersault.com>
Sat Apr  2 04:58:18 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 17:48:54 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 17:42:31 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 05:47:48 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 05:36:27 PST 2005  Mark Stosberg <mark at summersault.com>
Fri Apr  1 12:59:08 PST 2005  Tommy Pettersson <ptp at lysator.liu.se>
Fri Apr  1 04:31:26 PST 2005  David Roundy <droundy at abridgegame.org>
Fri Apr  1 04:31:14 PST 2005  David Roundy <droundy at abridgegame.org>
Fri Apr  1 04:11:18 PST 2005  David Roundy <droundy at abridgegame.org>
Fri Apr  1 03:29:59 PST 2005  David Roundy <droundy at abridgegame.org>
Fri Apr  1 03:23:33 PST 2005  David Roundy <droundy at abridgegame.org>

The grep picked up a lot more patches.

What's going on?  Is this a bug or just unexpected behavior?






More information about the darcs-users mailing list