Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-issue433 @ 4351:051fb8c2567c
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.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 16 Apr 2007 13:00:23 -0300 |
parents | 199dcb97a5b6 |
children | 7a7d4937272b |
line wrap: on
line source
#!/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