File: svnshell

package info (click to toggle)
subversion 1.4.2dfsg1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 37,268 kB
  • ctags: 32,888
  • sloc: ansic: 406,472; python: 38,378; sh: 15,248; cpp: 9,604; ruby: 8,313; perl: 5,308; java: 4,576; lisp: 3,860; xml: 3,298; makefile: 856
file content (26 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh /usr/share/dpatch/dpatch-run
##
## svnshell by <dwhedon@debian.org>
##
## DP: Contains r20992 from upstream trunk, which may be in 1.4.1.

@DPATCH@
Index: tools/examples/svnshell.py
--- a/tools/examples/svnshell.py
+++ b/tools/examples/svnshell.py
@@ -50,14 +50,8 @@
   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"""