[PATCH 5 of 6] blackbox: adds a 'blackbox' command for viewing recent logs

Pierre-Yves David pierre-yves.david at logilab.fr
Tue Feb 12 05:43:32 CST 2013


On Sun, Feb 10, 2013 at 12:13:38PM +0000, Brodie Rao wrote:
> On Sun, Feb 10, 2013 at 11:07 AM, Durham Goode <durham at fb.com> wrote:
> > # HG changeset patch
> > # User Durham Goode <durham at fb.com>
> > # Date 1360429786 28800
> > # Node ID 4192cc153d6f8d529723c9df20255693b73e723a
> > # Parent  ee0ffe8ee86585a9842c841f7c389b037f118282
> > blackbox: adds a 'blackbox' command for viewing recent logs
> >
> > Adds a 'hg blackbox' command for viewing the latest entries in the blackbox log.
> > By default it shows the last 10 entries, but -l allows the user to specify.
> >
> > diff --git a/hgext/blackbox.py b/hgext/blackbox.py
> > --- a/hgext/blackbox.py
> > +++ b/hgext/blackbox.py
> > @@ -66,3 +66,31 @@
> >          return
> >
> >      ui.setrepo(repo)
> > +
> > + at command('^blackbox|bb',
> 
> I don't think this command warrants a short alias like bb. Will it be
> run that often?

-1 for bb alias too. User can always defines it themself. For my part, I'm likely to use bb for a bickbucket related operation.


-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130212/4b3625a5/attachment.pgp>


More information about the Mercurial-devel mailing list