Matthew L. Creech <mlcreech@gmail.com>


Found
r873275

r873275 | kfogel | 2008-09-19 20:05:40 -0500 (Fri, 19 Sep 2008)

Fix a bug whereby 'svn mv' could cause the client to loop forever.

Found by: Matthew L. Creech <mlcreech@gmail.com>
Patch by: danielsh
          me

* subversion/libsvn_wc/copy.c
  (get_copyfrom_url_rev_via_parent): Look above the current directory,
    when walking upward from src_path to find copyfrom information.
    And, if still fail to find copyfrom information, error instead of
    looping forever.

* subversion/tests/cmdline/copy_tests.py
  (find_copyfrom_information_upstairs): New test.
  (test_list): Run it.

See this message and its thread for details:

   http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=143192
   From: "Matthew L. Creech" <mlcreech@gmail.com>
   To: dev@subversion.tigris.org
   Subject: 'svn move' causes lockup/crash
   Date: Thu, 18 Sep 2008 22:56:58 -0400
   Message-ID: <5ee96a840809181956v1bc7e9eau26042aa150720c0b@mail.gmail.com>