def get_txns(repo_dir):
    "Get the txn names using 'svnadmin lstxns'."
    (exit_code, output_lines, error_lines) = svntest.main.run_svnadmin('lstxns', repo_dir)
    txns = sorted([output_lines.strip(x) for x in output_lines])
    return txns
Get the txn names using 'svnadmin lstxns'.
def get_txns(repo_dir):
    
    (exit_code, output_lines, error_lines) = svntest.main.run_svnadmin('lstxns', repo_dir)
    txns = sorted([output_lines.strip(x) for x in output_lines])
    return txns