tests/test-rebuildstate
author Matt Mackall <mpm@selenic.com>
Tue, 11 Mar 2008 17:42:41 -0500
changeset 6229 c3182eeb70ea
parent 5858 e7ed5d07cc4c
child 6296 a9e6b8875805
permissions -rwxr-xr-x
dates: improve timezone handling datestr: - add format specifiers %1 and %2 for timezone hours and minutes - remove timezone and timezone format options - correctly find timezone hours and minutes for fractional and negative timezones - update users strdate: - correctly find timezone hours and minutes for fractional and negative timezones

#!/bin/sh
# basic test for hg debugrebuildstate

hg init repo
cd repo

touch foo bar
hg ci -Am 'add foo bar'

touch baz
hg add baz
hg rm bar

echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A

hg debugrebuildstate
echo '% state dump'
hg debugstate | cut -b 1-16,37- | sort
echo '% status'
hg st -A