gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] (Indirect) feature request: date-range selection for an


From: Andrew Suffield
Subject: [Gnu-arch-users] (Indirect) feature request: date-range selection for any commands where it makes sense
Date: Sun, 25 Jan 2004 19:07:15 +0000
User-agent: Mutt/1.5.5.1+cvs20040105i

<Keybuk> "what did I change between 5am and 9am a week ago last tuesday?"

This is essentially an interface thing. The following commands could
benefit from "from date" and "to date" arguments, where they currently
have (or should have) "from revision" and "to revision":

logs
delta
abrowse
apply-delta
replay

Since the patch logs aren't guaranteed to have serial dates, the sane
behaviour is probably to assume they do and not worry about it ("user
error"); scan backwards in time until you find the first entry older,
and stop there.

Parsing the arguments gets a bit tricky, because they ideally should
support things like "yesterday" and "last week". Stealing the date
parser from svn might be a cheap way to do this.

Note that this should be able to take the form
"address@hidden/foo--bar--0 yesterday" (the default
being the tree-version).

l10n for the date parser is left as an exercise for the terminally
insane.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]