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

Re: svn commit: r26220 - in branches/copy-on-update/subversion: libsvn_repos libsvn_wc

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-08-21 18:21:15 CEST

>> + if (closest_copy_root != NULL)
>> + {
>> + /* If the destination of the copy event is the same path as
>> + o_path, then we've found something interesting that should
>> + have 'copyfrom' history. */
>> + if (strcmp(closest_copy_path + 1, o_path) == 0)

I don't think other processes permit this to happen, but this could should
be able to handle the possibility of closest_copy_path being "/". Won't
strcmp() choke here in that case?

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Tue Aug 21 18:18:50 2007

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.