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

Fixing issue 698

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-05-21 23:24:33 CEST

Hello

Issue 698 http://subversion.tigris.org/issues/show_bug.cgi?id=698
covers being unable to repeat a checkout in a working copy. Doing so
results in "obstructed update" errors on subdirectories, e.g.

% svn co http://svn.collab.net/repos/svn/trunk -d wc
% svn co http://svn.collab.net/repos/svn/trunk -d wc

It's useful to be able to do this sort of thing to repair damaged
working copies.

I have a one line patch (plus a test case) that fixes this

Index: ../svn/subversion/libsvn_wc/update_editor.c
===================================================================
604c604
< if (kind != svn_node_none)

---
>   if (kind != svn_node_none && kind != svn_node_dir)
Now this change removes the "obstructed update" error for update and
switch as well as checkout.  So for example, if I have a non-versioned
directory foo/ in my working copy and I update to a revision that has
a versioned directory foo/, my unversioned foo/ will become
versioned. Previously this would have triggered "obstructed
update". Does anyone see this changed behaviour as a problem?
-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 21 23:25:36 2002

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.