[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Input validation observations

From: Noorul Islam K M <noorul_at_collab.net>
Date: Mon, 13 Dec 2010 19:22:06 +0530

Julian Foad <julian.foad_at_wandisco.com> writes:

> * "svn mv ^/ ^/" -> "Cannot move path
> 'https:/svn.apache.org/repos/asf' into itself"; should not print the URL
> as if it's a local path.

Attached is the patch which improves error message displayed.


Make 'svn move' display correct error message while moving any
path/URL onto or into itself. Add missing tests.

* subversion/libsvn_client/copy.c
  (try_copy): Display error message based on source type,
  (repos_to_repos_copy): Remove redundant code.

* subversion/tests/cmdline/copy_tests.py
  (move_wc_and_repo_dir_to_itself, test_list): New test

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>

Thanks and Regards

  • text/x-diff attachment: stored
Received on 2010-12-13 16:47:47 CET

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.