-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Rall wrote:
> 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.
Done in r25369.
- -Hyrum
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGbfpLCwOubk4kUXwRAt51AKCOJkPZ0ZChXwMycJPG0v+Umi5qEQCeIsDS
q/xUSnEV9/cgiHfQ45IGN0Y=
=Co/C
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 12 03:40:29 2007