On Thu, 07 Jun 2007, hwright@tigris.org wrote:
...
> +def merge_sensitive_log_single_revision(sbox):
...
> + data_dir = os.path.join(os.path.dirname(sys.argv[0]),
> + 'mergetracking_data')
> + dump_str = svntest.main.file_read(os.path.join(data_dir,
> + "basic-merge.dump"),
> + "rb")
> +
> + # Create a virgin repos and working copy
> + svntest.main.safe_rmtree(sbox.repo_dir, 1)
> + svntest.main.create_repos(sbox.repo_dir)
> +
> + # Load the mergetracking dumpfile into the repos, and check it out the repo
> + svntest.actions.run_and_verify_load(sbox.repo_dir, dump_str)
> + svntest.actions.run_and_verify_svn(None, None, [],
> + "co", sbox.repo_url, sbox.wc_dir)
...
special_tests.py and svnsync_tests.py also load dump files. The
former also performs the subsequent checkout. It would be great to
have a shared helper function in the svntest.actions or svntest.main
module to handle this redundancy.
- application/pgp-signature attachment: stored
Received on Fri Jun 8 23:43:50 2007