[darcs-users] feature request: darcs changes --latest

David Roundy droundy at abridgegame.org
Mon Jun 28 10:06:38 UTC 2004


On Sun, Jun 27, 2004 at 09:03:46PM +0200, Tommy Pettersson wrote:
> Most of the time I only want to see the latest changes when
> I use `darcs changes'.  I usually type `darcs changes |
> head -60', but that is tiresome and it would please me if I
> could type `darcs ch -l10' to see the ten latest changes.
> I find it easier to just get a screenfull of the latest
> changes then to remember and type resent tags or patch names.
> A second alternative is `darcs ch -l60' meaning `darcs changes
> but I think alternative 1 is more esthetic and also many times
> you have a feeling about how many changes you want to see.

Ok, I've added a --last option.  It works in both changes and in diff.

One of these days I need to update the man-page generator to include the
command line options of all the commands, and then I'll be able to easily
see which commands support a given option.

> I also think (is the voting period over?) that the --from-*
> options for the changes command are top candidates for
> short forms.  I suggest -m, -p and -t.

I'd rather wait on this.  I think -m is reasonable for --patch-name (by
analogy with CVS), which would prevent it from being used with
--from-match.  In fact the --from-* opotions only work with changes and
diff, so they don't seem like ideal candidates for short flags at all.

I'd be much more likely to use the short names with --patch or --patches,
which are relevant to pull, unpull and friends.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list