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

[PATCH] Fix reverting a replacement without properties + regression test

From: Ben Reser <ben_at_reser.org>
Date: 2004-03-02 23:25:09 CET

On Tue, Mar 02, 2004 at 02:36:26AM -0800, Ben Reser wrote:
> Someone should probably write a test for this. But I don't really
> understand how to write the test for this. If someone wants to walk me
> through it I'll update the patch to have a test.

Here's the patch with a regression test. It seemed much easier to do
when I wasn't doing it at 2 in the morning.

[[[
Handle reverting a replaced file without any properties.
 
Patch from Ben Reser <ben@reser.org>
 
* subversion/libsvn_wc/adm_ops.c
  (revert_admin_things): Actually check the results of svn_io_check_path()
    before trying to copy base-props to props when reverting a replacement.

* subversion/tests/clients/cmdline/schedule_tests.py
  Add a regression test for reverting replaced files without properties.
]]]

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken


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

Received on Tue Mar 2 23:24:03 2004

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.