tests/test-issue433
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 16 Apr 2007 13:00:23 -0300
changeset 4351 051fb8c2567c
parent 3719 199dcb97a5b6
child 4659 7a7d4937272b
permissions -rwxr-xr-x
command line templates: add formatnode filter This will print a full hash node with --debug and a short one otherwise. Use it with some default templates and in map-cmdline.default to print the parents. This should fix issue538.

#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue433

hg init a
cd a       
echo a > a 
hg commit -Ama 

hg parents -r 0 doesnotexist
true