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

Re: Disable diff-cmd

From: anatoly techtonik <techtonik_at_gmail.com>
Date: Tue, 24 Aug 2010 18:50:33 +0300

On Tue, Aug 24, 2010 at 3:48 PM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
>
>> Not really. In Rietveld project we call "svn diff" by upload.py script
>> used to send diffs for review to remote server. We can't instruct
>> users to copy config dir, so we need to do this automatically. That
>> means copying the whole config dir and comment only one option just
>> for the sake of running "svn diff"
>
> I suppose you could use the Python bindings and bypass the command
> line client.  Then the script would have full control.

upload.py helper script is aimed to be used by the end users
(developers) from a fresh checkout of a project. The project itself
may not use Python at all. Having a requirement to install Subversion
bindings besides Python would be an overkill.

From my experience installing Subversion Python bindings is not a
trivial task. You need to be careful about exact Python/Subversion
versions and be aware about installation procedure for your platform.
Matters are complicated by the fact that there seems to be several
different bindings in the wild.

If I remember correctly only `ctypes` bindings can work with multiple
version of Python, but I can't recall that Subversion installer
proposed to install them, and do not remember seeing any standalone
distributions.

Philip Martin <philip.martin_at_wandisco.com> wrote:
>
> Another thing you could do is explicitly invoke an external diff to
> override any user default.

That could be a solution if only `diff` was available on Windows by
default, but it's not.

Please, CC.

-- 
anatoly t.
Received on 2010-08-24 17:51:33 CEST

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.