view tools/verify-all-heads.sh @ 1516:fbc22592f4fa

push: lock repo before calling createmarkers Previously, when devel.all-warnings is set to True, hg subversion will crash when pushing with the error: ProgrammingError: transaction requires locking Tracking that down, that is because "createmarkers" was called without locking. A comprehensive test was added to run test_push_command with obsstore turned on to cover the code paths.
author Jun Wu <quark@fb.com>
date Mon, 07 Aug 2017 18:12:16 -0700
parents 11c4c7242a36
children
line wrap: on
line source

#!/bin/sh
. $(dirname $0)/common.sh

for b in `hg branches -aq` ; do
    hg co $b || break
    echo verifying $b
    hg svn verify
done