Skip Menu |

This queue is for tickets about the svk CPAN distribution.

Report information
The Basics
Id: 29367
Status: open
Priority: 0/
Queue: svk

People
Owner: Nobody in particular
Requestors: matt.fowles [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: v2.0.1
Fixed in: (no value)



Subject: SVK patch --apply failes with an internal error
fowles@spiceweasel:~/trunk-rename/sb$ svk --version This is svk, version v2.0.1 (using Subversion bindings 1.4.3) fowles@spiceweasel:~/trunk-rename/sb$ svk patch --apply - < ~/rename.patch g clients/java/src/com/streambase/sb/test/TestTupleRep.java Conflict found in clients/java/src/com/streambase/sb/TupleRep.java: e)dit, d)iff, m)erge, s)kip, t)heirs, y)ours, h)elp? [m] Unable to read terminal settings in GetControlChars at /usr/local/share/perl/5.8.8/SVK/Util.pm line 195. Additionally, after the program has quit with this error, I cannot see any of the text I type at the command line.
From: andy_bach [...] wiwb.uscourts.gov
On Fri Sep 14 11:23:27 2007, matt.fowles wrote: Show quoted text
> fowles@spiceweasel:~/trunk-rename/sb$ svk --version > This is svk, version v2.0.1 (using Subversion bindings 1.4.3) > fowles@spiceweasel:~/trunk-rename/sb$ svk patch --apply - <
~/rename.patch Show quoted text
> g clients/java/src/com/streambase/sb/test/TestTupleRep.java > Conflict found in clients/java/src/com/streambase/sb/TupleRep.java: > e)dit, d)iff, m)erge, s)kip, t)heirs, y)ours, h)elp? [m] Unable to read > terminal settings in GetControlChars at > /usr/local/share/perl/5.8.8/SVK/Util.pm line 195.
I ran into a similar issue (building parrot). It seems that svk uses Term::Readkey to prompt for creating a new local repository if the svk instance hasn't been setup yet (or, at least, svk can't find the user's svk local rep). This chokes on GetControlChars when there's any kind of redirected input. So it may be a Term::Readkey issue, though it'd be nice if svk *didn't* feel the need to instantiate the rep regardless of it's use. For instance, in parrot, they're just testing if the local dir has svk info. A simple 'no' would do, w/o trying to setup svk. Show quoted text
> Additionally, after the program has quit with this error, I cannot see > any of the text I type at the command line.
Yeah, I had to do: stty sane to get it back. a