Kieran, does Sander's commit of revision 2843 obviate the need for
your patch below?
-Karl
Kieran <kieran@esperi.demon.co.uk> writes:
> Log message:
>
> Sander has fixed a problem in "svn status -vN". See rev 2838
> * ./subversion/tests/clients/cmdline/stat_tests.py:
> Added status_includes_versioned_directories
>
>
> ./subversion/tests/clients/cmdline/stat_tests.py
> ===================================================================
> --- /home/kieran/download/subversion/trunk-bacchus/subversion/tests/clients/cmdline/stat_tests.py
> +++ /home/kieran/download/subversion/trunk-bacchus/subversion/tests/clients/cmdline/stat_tests.py Thu Aug 1 06:00:31 2002
> @@ -125,9 +125,30 @@
> return svntest.actions.run_and_verify_unquiet_status(wc_backup,
> expected_status)
>
> -
> -
> -
> +# svn status -vN should include versioned directories
> +def status_includes_versioned_directories(sbox):
> + "Check that 'svn status -vN' works"
> + # Bootstrap
> + if sbox.build():
> + return 1
> +
> + wc_dir = sbox.wc_dir
> + was_cwd = os.getcwd ()
> +
> + os.chdir (wc_dir)
> +
> + stdout_lines, stderr_lines = \
> + svntest.main.run_svn (None, 'status', '-vN')
> +
> + # Ok, so where does the magic number 3 come from?
> + # it's the number of files and directories in the root of the "greek
> + # repository
> + # Note that changing this repository will break this test...
> + if (len(stdout_lines) != 3):
> + os.chdir (was_cwd)
> + return 1
> + os.chdir (was_cwd)
> + return 0
>
> ########################################################################
> # Run the tests
> @@ -137,6 +158,7 @@
> test_list = [ None,
> stat_unversioned_file_in_current_dir,
> status_update_with_nested_adds,
> + status_includes_versioned_directories,
> ]
>
> if __name__ == '__main__':
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 23:20:19 2002