summaryrefslogtreecommitdiff
path: root/debian/patches/svnshell
diff options
context:
space:
mode:
authorJames McCoy <jamessan@debian.org>2018-08-04 12:32:52 -0400
committerJames McCoy <jamessan@debian.org>2018-08-04 12:32:52 -0400
commitb1c9ecc011e5edc33a4502e29cfbb2c5368b4e8b (patch)
treed9945e965784b536a3ca4b798f150455409f8fc4 /debian/patches/svnshell
parent06d32585659076b225de1ac80c0ca15872b7ef11 (diff)
Commit patch queue (exported by git-debrebase)debian/1.10.2-1archive/debian/1.10.2-1
[git-debrebase: export and commit patches]
Diffstat (limited to 'debian/patches/svnshell')
-rw-r--r--debian/patches/svnshell34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/svnshell b/debian/patches/svnshell
new file mode 100644
index 0000000..dc204f6
--- /dev/null
+++ b/debian/patches/svnshell
@@ -0,0 +1,34 @@
+From: James McCoy <jamessan@debian.org>
+Date: Wed, 1 Aug 2018 20:44:36 -0400
+Subject: svnshell
+
+Bug #234462: The error messages that svnshell spits out for unknown
+Bug #234462: The error messages that svnshell spits out for unknown
+commands are confusing. They should be replaced by a "Unknown command."
+error message. Upstream says we have no sense of humor. (:
+
+Patch from Roland Illig <roland.illig@gmx.de>.
+---
+ tools/examples/svnshell.py | 8 +-------
+ 1 file changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/tools/examples/svnshell.py b/tools/examples/svnshell.py
+index 9c67af4..b05e7ef 100755
+--- a/tools/examples/svnshell.py
++++ b/tools/examples/svnshell.py
+@@ -56,14 +56,8 @@ class SVNShell(Cmd):
+ def postcmd(self, stop, line):
+ self._setup_prompt()
+
+- _errors = ["Huh?",
+- "Whatchoo talkin' 'bout, Willis?",
+- "Say what?",
+- "Nope. Not gonna do it.",
+- "Ehh...I don't think so, chief."]
+-
+ def default(self, line):
+- print(self._errors[randint(0, len(self._errors) - 1)])
++ print "Unknown command."
+
+ def do_cat(self, arg):
+ """dump the contents of a file"""