view tests/test-hgk.t @ 18081:f88c60e740a1

revlog.ancestors: add support for including revs This is in preparation for an upcoming refactoring. This also fixes a bug in incancestors, where if an element of revs was an ancestor of another it would be generated twice.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 17 Dec 2012 15:13:51 -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 ..