view tests/test-hgk.t @ 18608:3adbd57e1794

histedit: report when revisions to edit are not ancestors of working dir Editing the history only is possible when the working dir is a descendant of the revisions to edit. When this happens explain it by writing abort: %s is not an ancestor of working directory
author Simon Heimberg <simohe@besonet.ch>
date Sat, 03 Aug 2013 16:37:17 +0200
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 ..