On May 27, 2005, at 3:55 AM, Martin Hauner wrote:
> Max Bowsher wrote:
>
>> Issue 2015 - it's already filed!
>>
>
> If someone outlines what has do be done in the code and where
> i would do some work on it.
Start with svn_client_diff(), and then follow the codepath for a URL-
URL diff. My understanding is that an RA request is sent to the
server which instructs it to compare two trees, and the result is an
editor-drive. The particular client-side editor that is driven is
written to drive *another* vtable known as 'diff_callbacks_t'. There
are currently two implementations of diff_callbacks_t: one which
prints diffs to the screen ('svn diff URL1 URL2') and one which
merges diffs into working-files ('svn merge URL1 URL2'). The goal
here, I believe, is to write a third implementation of
diff_callbacks_t, one which uses our notification system to merely
print status codes.
It's possible that you could start by simply copying the 'merge'
implementation of diff_callbacks_t and then hack on it; it already
outputs status codes, you'd just have to make it not change any
working-copy data.
(Hm, maybe the issue should link to this mail...?)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 27 13:58:12 2005