tests/test-committer
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 16 Jul 2006 11:32:37 +0200
changeset 2626 f84e166eb0de
parent 2104 f1085d34d20d
child 3461 8b55c0ba8048
permissions -rwxr-xr-x
walkchangerevs: fix race in fast path do not yield revs if the corresponding cl entry does not exists, it avoids a race in the fastpath (where we walk in the filelog) with an ongoing transaction.

#!/bin/sh

unset HGUSER
EMAIL="My Name <myname@example.com>"
export EMAIL

hg init test
cd test
touch asdf
hg add asdf
hg commit -d '1000000 0' -m commit-1
hg tip