tests/test-hup
author Kirill Smelkov <kirr@mns.spb.ru>
Tue, 18 Dec 2007 14:01:34 -0600
changeset 5656 b940260c4291
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
[RFC] convert: fix --datesort The problem is that previously commit.date was used for sorting, but it's a string like "1 Jan xxx 2007", so it it wrong to use it for sorting. Another problem is that why we are using depth for sorting -- I have no clear answer -- it seems to be plain wrong. This patch is just an RFC.

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 3
kill -HUP $P
wait
echo .hg/* .hg/store/*