You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Barry Scott <ba...@barrys-emacs.org> on 2009/05/13 19:44:13 UTC

svn_client_diff messed up output with external diff command problem

I have a pysvn user that found the output of diff messed up compared  
to the
svn command line diff.

He gets output like this:

Index: some/file
==================================OUTPUT
FROM
DIFF====================================

instead of:

Index: some/file
======================================================================

OUTPUT
FROM
DIFF


He tracked this down to the way pysvn calls svn_client_diff. pysvn uses
svn_io_open_unique_file3 to create the output and error file objects.

It seems likely that because these are APR_BUFFERED the output of svn
and the external diff command do not get merged correctly.

Do you consider this a bug in SVN or in how pysvn calls SVN?

Barry

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2242071

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].