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

Re: [PATCH] issue #2224- copy wc path to itself recurses infinitely

From: Alexander <alexander_at_collab.net>
Date: 2005-04-14 10:06:14 CEST

Sorry, re-sending due to missing log message and issues with the test
case.

There are a couple of issues. One is about the test case - how to kill a
long-running process from Python in both *nix and Windows? The second is
the error code - SVN_ERR_UNSUPPORTED_FEATURE is not as good as
SVN_ERR_INVALID_ARGUMENTS, but that does not exist.

The issue is here:
http://subversion.tigris.org/issues/show_bug.cgi?id=2224

-Alexander Thomas (AT)

Patch to fix issue 2224 - "svn copy mydir mydir" in a wc recurses
infinitely

* subversion/libsvn_client/copy.c
  (setup_copy): generate error if source and destination match

* subversion/tests/clients/cmdline/copy_tests.py
  (wc_copy_dir_to_same_dir):¬†Added function to verify failure when
  copying a wc path to itself
  (test_list): Added wc_copy_dir_to_same_dir

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Apr 14 10:07:26 2005

This is an archived mail posted to the Subversion Dev mailing list.