tests/test-hgk.t
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Sat, 25 Aug 2012 15:37:28 +0200
changeset 17471 ad1561723dde
parent 16913 f2719b387380
child 17959 542d133ea0a3
permissions -rw-r--r--
amend: lock the repository during the whole process Without this changes another writer can lock the repository in the middle the amend process. The resulting mess can be pretty ugly.

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
  committer test 0 0
  revision 0
  branch default
  
  adda

  $ cd ..