Re: svn commit: r1868561 - /subversion/trunk/subversion/tests/cmdline/diff_tests.py
From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Fri, 18 Oct 2019 00:08:48 -0400
On Thu, Oct 17, 2019 at 5:48 PM Daniel Shahaf <d.s_at_daniel.shahaf.name>
> Good morning Nathan,
Good morning! Or whatever time it happens to be in your part of the world
If instead of using «echo test > file» you would use the existing file
Thank you for this suggestion!
So I tried this:
[[[
#----------------------------------------------------------------------
sbox.build(read_only=True)
sbox.simple_update(revision=0)
# Expected output is empty for these cases:
# Expected output for:
# Expected output for:
os.chdir(wc_dir)
svntest.actions.run_and_verify_svn(expected_output_base_head, [],
svntest.actions.run_and_verify_svn(expected_output_head_base, [],
svntest.actions.run_and_verify_svn([], [],
svntest.actions.run_and_verify_svn(expected_output_head_base, [],
svntest.actions.run_and_verify_svn([], [],
svntest.actions.run_and_verify_svn(expected_output_base_head, [],
svntest.actions.run_and_verify_svn(expected_output_base_head, [],
svntest.actions.run_and_verify_svn(expected_output_head_base, [],
svntest.actions.run_and_verify_svn([], [],
svntest.actions.run_and_verify_svn(expected_output_head_base, [],
]]]
I like shorter code!
Unfortunately, instead of reproducing the output shown in SVN-1722,
While I could run 'svn diff -r BASE:HEAD iota' etc., I think that
Nathan
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.