Add a regression test for locks on copy source. * subversion/tests/cmdline/lock_tests.py (copy_with_lock): New. (test_list): Add new test.