Shlomi Fish <shlomif@vipe.technion.ac.il> writes:
> > Honestly, the better thing to do would be to make ra->do_switch()
> > support this special case so we can lose the special code in
> > svn_client_switch() and avoid adding the same to all callers of this
> > interface. I began this work a while ago, but my patch-in-progress
> > was lost in an OS re-install. That said, I'd love to re-do this
> > change.
> >
>
> How is this change going to be performed? Which modules of the
> Subversion modules would we have to change to do this?
You know, I actually misspoke above. I forgot that we have
ra->do_diff() (there was a time when diff used ra->do_switch). So,
actually, there are a couple of issues:
- ra->do_switch() doesn't support the file case
- ra->do_diff() doesn't support the file case
> >From what I understand we have to:
>
> 1. Retrieve the source file.
>
> 2. Construct a txdelta stream between the source file and the target file.
>
> 3. Apply it between the source file and the target file on the local
> machine.
>
> 4. Run svn_diff_do_diff().
>
> I know how to perform step #1, but I'm stumped on #2-#3.
Or, you could just fetch the source file, fetch the target file, and
run svn_diff_do_diff(). Forget the txdelta stuff altogether. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 18 03:43:50 2003