tests/test-manifest
author Bryan O'Sullivan <bos@serpentine.com>
Thu, 09 Aug 2007 19:42:33 -0700
changeset 5155 13d23d66a6cd
child 5406 f11554a097c8
permissions -rwxr-xr-x
manifest: accept -r for rev specification

#!/bin/sh

hg init
echo a > a
hg ci -Ama -d'0 0'
mkdir b
echo a > b/a
hg ci -Amb -d'1 0'
hg manifest
hg manifest -v
hg manifest --debug
hg manifest -r 0
hg manifest -r 1
hg manifest -r tip

echo % should fail
hg manifest -r 2
hg manifest -r tip tip

hg manifest tip