tests/test-hgk.t
author Durham Goode <durham@fb.com>
Sat, 09 Feb 2013 09:09:46 -0800
changeset 18673 f27598902007
parent 17959 542d133ea0a3
child 18807 cf72fd8b3072
permissions -rw-r--r--
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.

Minimal hgk check

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "hgk=" >> $HGRCPATH
  $ hg init repo
  $ cd repo
  $ echo a > a
  $ hg ci -Am adda
  adding a
  $ hg debug-cat-file commit 0
  tree a0c8bcbbb45c
  parent 000000000000
  author test 0 0
  revision 0
  branch default
  
  adda

  $ cd ..