tests/test-hgk.t
author Bryan O'Sullivan <bryano@fb.com>
Sat, 09 Feb 2013 15:51:32 -0800
changeset 18638 047110c0e2a8
parent 17959 542d133ea0a3
child 18807 cf72fd8b3072
permissions -rw-r--r--
worker: allow a function to be run in multiple worker processes If we estimate that it will be worth the cost, we run the function in multiple processes. Otherwise, we run it in-process. Children report progress to the parent through a pipe. Not yet implemented on Windows.

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