[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9993: `vc-svn-checkin' needs "--non-interactive"
From: |
Stefan Monnier |
Subject: |
bug#9993: `vc-svn-checkin' needs "--non-interactive" |
Date: |
Thu, 10 Nov 2011 00:14:52 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) |
>>> or make vc-svn-command unconditionally add it
>> That sounds right.
> Done.
>> We can add a comment in our code that --non-interactive is a workaround
>> and that svn should do it automatically since we're using a pipe.
> Gotta cater to the common use case of
> find . -name '*.pdf' | xargs svn update
Yes, I think the real test is not "is stdin a tty" but "are we connected
to a tty", which would work right in both cases (an Emacs subprocess
connected via a pipe does not have an associated tty whereas the above
svn command would if typed in bash).
Stefan