def check_hotcopy_bdb(src, dst):
    'Verify that the SRC BDB repository has been correctly copied to DST.'
    (exit_code, origout, origerr) = svntest.main.run_svnadmin('dump', src, '--quiet')
    (exit_code, backout, backerr) = svntest.main.run_svnadmin('dump', dst, '--quiet')
    if (origerr or backerr or (origout != backout)):
        raise svntest.Failure
Verify that the SRC BDB repository has been correctly copied to DST.
def check_hotcopy_bdb(src, dst):
    
    (exit_code, origout, origerr) = svntest.main.run_svnadmin('dump', src, '--quiet')
    (exit_code, backout, backerr) = svntest.main.run_svnadmin('dump', dst, '--quiet')
    if (origerr or backerr or (origout != backout)):
        raise svntest.Failure