view tests/test-hgk.t @ 18735:716cad930691

util: generalize bytecount to unitcountfn This gives us a function we can reuse to count units of other kinds.
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 28 Feb 2013 12:51:18 -0800
parents 542d133ea0a3
children cf72fd8b3072
line wrap: on
line source

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 ..