pvn 0.0.11 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/bin/pvn +1 -1
  3. data/lib/pvn/app/runner.rb +18 -17
  4. data/lib/pvn/command/clargs.rb +3 -1
  5. data/lib/pvn/command/color_option.rb +2 -2
  6. data/lib/pvn/command/command.rb +6 -5
  7. data/lib/pvn/command/doc.rb +43 -23
  8. data/lib/pvn/command/options.rb +4 -4
  9. data/lib/pvn/diff/change.rb +2 -5
  10. data/lib/pvn/diff/changed_paths.rb +7 -6
  11. data/lib/pvn/diff/command.rb +9 -5
  12. data/lib/pvn/diff/diffcmd.rb +52 -0
  13. data/lib/pvn/diff/differ.rb +2 -1
  14. data/lib/pvn/diff/diffset.rb +36 -0
  15. data/lib/pvn/diff/local_path.rb +13 -14
  16. data/lib/pvn/diff/log_path.rb +24 -34
  17. data/lib/pvn/diff/log_paths.rb +5 -3
  18. data/lib/pvn/diff/options.rb +1 -1
  19. data/lib/pvn/diff/path.rb +12 -48
  20. data/lib/pvn/diff/paths.rb +6 -3
  21. data/lib/pvn/diff/repository_differ.rb +4 -1
  22. data/lib/pvn/diff/status_paths.rb +7 -4
  23. data/lib/pvn/doc.rb +2 -4
  24. data/lib/pvn/io/element.rb +27 -85
  25. data/lib/pvn/io/fselement.rb +8 -2
  26. data/lib/pvn/log/command.rb +2 -2
  27. data/lib/pvn/log/entries.rb +13 -27
  28. data/lib/pvn/log/formatter/date_formatter.rb +16 -0
  29. data/lib/pvn/log/formatter/entry_formatter.rb +0 -12
  30. data/lib/pvn/log/formatter/message_formatter.rb +1 -1
  31. data/lib/pvn/log/formatter/summary_formatter.rb +8 -1
  32. data/lib/pvn/log/options.rb +4 -4
  33. data/lib/pvn/log/user_entries.rb +4 -5
  34. data/lib/pvn/pct/command.rb +9 -9
  35. data/lib/pvn/pct/differ.rb +2 -3
  36. data/lib/pvn/pct/local_differ.rb +4 -5
  37. data/lib/pvn/pct/repository_differ.rb +35 -24
  38. data/lib/pvn/revision/argument.rb +2 -1
  39. data/lib/pvn/revision/base_option.rb +5 -10
  40. data/lib/pvn/revision/range.rb +2 -1
  41. data/lib/pvn/seek/command.rb +9 -14
  42. data/lib/pvn/seek/match.rb +65 -0
  43. data/lib/pvn/seek/options.rb +3 -3
  44. data/lib/pvn/seek/path.rb +31 -115
  45. data/lib/pvn/seek/seeker.rb +88 -0
  46. data/lib/pvn/status/command.rb +2 -1
  47. data/lib/pvn/status/formatter/entries_formatter.rb +0 -1
  48. data/lib/pvn/util/color_formatter.rb +9 -3
  49. data/lib/pvn/util/textlines.rb +2 -2
  50. data/lib/pvn.rb +1 -1
  51. data/test/integration/pvn/diff/changed_paths_test.rb +3 -3
  52. data/test/integration/pvn/diff/local_differ_test.rb +0 -2
  53. data/test/integration/pvn/diff/log_paths_test.rb +13 -4
  54. data/test/integration/pvn/diff/repository_differ_test.rb +6 -0
  55. data/test/integration/pvn/diff/status_paths_test.rb +12 -7
  56. data/test/integration/pvn/log/command_test.rb +62 -5
  57. data/test/integration/pvn/pct/local_differ_test.rb +2 -5
  58. data/test/integration/pvn/pct/repository_differ_test.rb +4 -6
  59. data/test/integration/pvn/seek/command_test.rb +106 -0
  60. data/test/integration/pvn/status/command_test.rb +2 -6
  61. data/test/unit/pvn/app_test.rb +1 -1
  62. data/test/unit/pvn/diff/change_test.rb +0 -0
  63. data/test/unit/pvn/diff/path_test.rb +0 -0
  64. data/test/unit/pvn/io/element/log/log_test.rb +0 -0
  65. data/test/unit/pvn/log/formatter/entry_formatter_test.rb +9 -12
  66. data/test/unit/pvn/log/options_test.rb +0 -0
  67. data/test/unit/pvn/revision/argument_test.rb +0 -0
  68. data/test/unit/pvn/revision/multiple_revisions_option_test.rb +1 -1
  69. data/test/unit/pvn/revision/range_test.rb +0 -0
  70. data/test/unit/pvn/revision/revision_option_test.rb +0 -0
  71. data/test/unit/pvn/revision/revision_regexp_option_test.rb +0 -0
  72. metadata +156 -195
  73. data/README.markdown +0 -43
  74. data/bin/quote.rb +0 -218
  75. data/bin/quotes.orig.txt +0 -145
  76. data/bin/quotes.txt +0 -64
  77. data/lib/pvn/app.rb +0 -7
  78. data/lib/pvn/cmddoc.rb +0 -77
  79. data/lib/pvn/diff/name.rb +0 -23
  80. data/lib/svnx/action.rb +0 -47
  81. data/lib/svnx/cat/command.rb +0 -63
  82. data/lib/svnx/command.rb +0 -77
  83. data/lib/svnx/entries.rb +0 -67
  84. data/lib/svnx/entry.rb +0 -58
  85. data/lib/svnx/info/command.rb +0 -42
  86. data/lib/svnx/info/entries.rb +0 -19
  87. data/lib/svnx/info/entry.rb +0 -38
  88. data/lib/svnx/log/command.rb +0 -81
  89. data/lib/svnx/log/entries.rb +0 -18
  90. data/lib/svnx/log/entry.rb +0 -53
  91. data/lib/svnx/status/command.rb +0 -28
  92. data/lib/svnx/status/entries.rb +0 -17
  93. data/lib/svnx/status/entry.rb +0 -53
  94. data/lib/synoption/base_option.rb +0 -132
  95. data/lib/synoption/boolean_option.rb +0 -21
  96. data/lib/synoption/doc.rb +0 -81
  97. data/lib/synoption/exception.rb +0 -12
  98. data/lib/synoption/fixnum_option.rb +0 -13
  99. data/lib/synoption/match.rb +0 -47
  100. data/lib/synoption/matchers.rb +0 -22
  101. data/lib/synoption/option.rb +0 -10
  102. data/lib/synoption/optionable.rb +0 -66
  103. data/lib/synoption/set.rb +0 -145
  104. data/lib/system/command/arg.rb +0 -12
  105. data/lib/system/command/cachefile.rb +0 -53
  106. data/lib/system/command/caching.rb +0 -36
  107. data/lib/system/command/line.rb +0 -47
  108. data/test/integration/pvn/diff/command_test.rb +0 -20
  109. data/test/unit/svnx/action_test.rb +0 -38
  110. data/test/unit/svnx/info/entries_test.rb +0 -22
  111. data/test/unit/svnx/info/entry_test.rb +0 -22
  112. data/test/unit/svnx/log/cmargs_test.rb +0 -22
  113. data/test/unit/svnx/log/entries_test.rb +0 -90
  114. data/test/unit/svnx/log/entry_test.rb +0 -17
  115. data/test/unit/svnx/status/entries_test.rb +0 -21
  116. data/test/unit/svnx/status/entry_test.rb +0 -16
  117. data/test/unit/synoption/base_option_test.rb +0 -182
  118. data/test/unit/synoption/match_test.rb +0 -61
  119. data/test/unit/synoption/option_test.rb +0 -15
  120. data/test/unit/synoption/set_test.rb +0 -53
  121. data/test/unit/system/command/cachefile_test.rb +0 -53
  122. data/test/unit/system/command/caching_test.rb +0 -88
  123. data/test/unit/system/command/line_test.rb +0 -33
data/README.markdown DELETED
@@ -1,43 +0,0 @@
1
- PVN
2
- ===
3
-
4
- Pvn adds functionality stolen and inspired by Perforce and Git, as well as just
5
- things I conjured up.
6
-
7
- What it isn't: a replace for svn (the command). The intent here is not to do
8
- everything svn does, but better. Maybe some day that will happen.
9
-
10
- SUMMARY
11
- -------
12
-
13
- pvn [ options ] file ...
14
-
15
- FEATURES
16
- --------
17
-
18
- **Relative revisions**. Pvn supports revisions being specified as being relative
19
- to their "index" in the list of svn revision. "+n" means the nth revision in
20
- the list for a given path, and "-n" is the nth from the last revision, where
21
- -1 means the last revision.
22
-
23
- Thus for the following list of revisions for a path:
24
-
25
- r1947 | easter.bunny | 2011-11-14 07:24:45 -0500 (Mon, 14 Nov 2011) | 1 line
26
- r1714 | santa.claus | 2011-09-22 16:38:30 -0400 (Thu, 22 Sep 2011) | 1 line
27
- r1192 | santa.claus | 2011-09-05 03:51:04 -0400 (Mon, 05 Sep 2011) | 1 line
28
- r1145 | tooth.fairy | 2011-08-02 04:57:23 -0400 (Tue, 02 Aug 2011) | 1 line
29
- r1143 | santa.claus | 2011-07-29 07:51:49 -0400 (Fri, 29 Jul 2011) | 1 line
30
- r1049 | santa.claus | 2011-06-22 07:17:43 -0400 (Wed, 22 Jun 2011) | 1 line
31
-
32
- Relative revision +0 is r1049, -1 is r1947, +1 is r1143, and so on.
33
-
34
- **Colorized logging**. The *log* subcommand works in pvn as it does with svn,
35
- except that output is colorized, differing for the elements (file, directory) and
36
- the status of the element (added, deleted, changed). The logging output also
37
- shows the relative revision.
38
-
39
- **Sorted names**. Pvn differs from Subversion in that for all subcommands, file names
40
- are printed in sorted order, improving legibility.
41
-
42
- **Caching**. Output from some commands is cached, for speed.
43
-
data/bin/quote.rb DELETED
@@ -1,218 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # -*- ruby -*-
3
-
4
- require 'rubygems'
5
- require 'riel'
6
-
7
- class Quotes < Hash
8
- def initialize
9
- super { |h, k| h[k] = Array.new }
10
-
11
- file = Pathname.new(__FILE__).parent + "quotes.txt"
12
- file.each_line do |line|
13
- line.chomp!
14
- next if line.empty?
15
- who, quote = line.split(':', 2)
16
- # puts "who: #{who}"
17
- # puts "quote: #{quote}"
18
- self[who.strip] << quote.strip
19
- end
20
- end
21
-
22
- def print_random
23
- who, quote = get_random
24
- puts who
25
- puts quote
26
- end
27
-
28
- def get_random
29
- who = keys.rand
30
- quote = self[who].rand
31
- self[who].delete quote
32
- write
33
- [ who, quote ]
34
- end
35
-
36
- def write
37
- file = Pathname.new(__FILE__).parent + "quotes.txt"
38
- File.open(file, "w") do |io|
39
- self.sort.each do |who, quotes|
40
- quotes.sort.each do |quote|
41
- io.puts "#{who}: #{quote}"
42
- end
43
- end
44
- end
45
- end
46
- end
47
-
48
- quotes = Quotes.new
49
-
50
- if false
51
- quotes.print_random
52
- end
53
-
54
- if true
55
- quotes.sort.each do |who, qtes|
56
- printf "%4d %s\n", qtes.length, who
57
- end
58
-
59
- printf "%4d %s\n", quotes.values.inject(0) { |s, n| s + n.length }, "total"
60
- end
61
-
62
- # as svn commit:
63
- user, comment = quotes.get_random
64
- comment.gsub! '"', '\\"'
65
- comment.gsub! '!', '\\!'
66
- if comment.length > 80
67
- # reformat
68
- comment.gsub! %r{(\w+.{70,90}) +}, '\1' + "\n"
69
- end
70
- puts "svn commit -m \"#{comment}\" --username '#{user}' ."
71
-
72
- __END__
73
-
74
- Lyle:Come on, boys! The way you're lollygaggin' around here with them picks and them shovels, you'd think it was a hundert an' twenty degrees!... Can't be more than a hundert an' fourteen!
75
- Hedley Lamarr: There might be a legal precedent. Land snatching ... L-l-land. See snatch."
76
- Hedley Lamarr: If I could find a sheriff who so offends the people of Rock Ridge that his very appearance would drive them out of town! Wherever will I find such a man? ... Why am I asking you?
77
- Jim: No. Don't do that, don't do that. If you shoot him you'll just make him mad.
78
- Jim: What did you expect? "Welcome, sonny"? "Make yourself at home"? "Marry my daughter"? You've got to remember that these are just simple farmers. These are people of the land. The common clay of the new West. You know ... morons.
79
- Lili von Shtupp: Willkommen, Bienvenue, Welcome, C'mon in.
80
- Taggart: Ah'm werkin' fer Mel Brooks!
81
- Taggart: Le Petomane Thruway. Now what'll that asshole think of next? Does anybody got a dime? Somebody has to go back and get a shitload of dimes.
82
- Mongo: Mongo only pawn in the game of life.
83
- Mongo: Mongo like candy!
84
-
85
- Bart: Are we awake?
86
- Jim: We're not sure. Are we...black?
87
- Bart: Yes we are.
88
- Jim: Then we're awake. But we're very puzzled.
89
-
90
- Bart: What's your name?
91
- Jim: My name's Jim, but most people call me ... Jim.
92
-
93
- Bart: Well Jim, since you are my guest and I am your host, what are your pleasures. What do you like to do?
94
- Jim: Oh, I don't know. Play chess ...
95
- Bart: Well, let's play chess.
96
-
97
- Bart: By the power invested in me by the honorable William J. Le Petomane, I hereby assume the duties of sheriff in and for the township of Rock Ridge.
98
-
99
- Dr. Johnson: Hold it men! He's not bluffing!
100
- Dr. Samuel Johnson: Listen to him, men; he's just crazy enough to do it!
101
- Harriet Johnson: Isn't anyone going to help that poor man?
102
- Dr. Samuel Johnson: Hush, Harriet! That's a sure way to get him killed!
103
- Bart: Oh, baby, you are so talented, and they so dumb!
104
-
105
- Hedley Lamarr: My mind is aglow with whirling, transient nodes of thought careening through a cosmic vapor of invention.
106
- Taggart: Ditto!
107
- Hedley Lamarr: Ditto?! Ditto, you provincial putz?!
108
-
109
- Hedley Lamarr: My mind is a raging torrent, flooded with rivulets of thought, cascading into a waterfall of creative alternatives...
110
-
111
- Hedley Lamarr: I want rustlers, cut throats, murderers, bounty hunters, desperados, mugs, pugs, thugs, nitwits, halfwits, dimwits, vipers, snipers, con men, Indian agents, Mexican bandits, muggers, buggerers, bushwhackers, hornswogglers, horse thieves, bull dykes, train robbers, bank robbers, ass-kickers, shit-kickers, and Methodists!
112
-
113
- Taggart: What in the Wide World of Sports is a-goin' on here? I hired you people to get some track laid ...
114
-
115
- Buddy Bizarre: CUT! What in the hell do you think you're doing here? This is a closed set.
116
- Buddy Bizarre: Not in the face.
117
-
118
- Hedley Lamarr: "Head them off at the pass?" I hate that cliche!
119
-
120
- Lyle: Don't pay no attention to that alky. He can't hold a gun, much less shoot it.
121
-
122
- Bart: Well, don't just stand there looking stupid, grasping your hands in pain. How about a round of applause for The Waco Kid?
123
-
124
- Hedley Lamarr: Charming. Sign right here.
125
-
126
- Harriet Johnson: ... wish to express our extreme displeasure with your choice of sheriff. Please remove him immediately! The fact that you have sent him here just goes to prove that you are the leading asshole in the state!
127
-
128
- Lili von Shtupp: A wed wose. How womantic.
129
-
130
- Bart: A man drink like that and he don't eat, he is going to DIE.
131
-
132
- Mongo: Huh-huh, naw, Mongo straight.
133
-
134
- Hedley Lamarr: Meeting adjourned. Oh, I am sorry, sir, I didn't mean to overstep my bounds. You say that.
135
- Governor William J. Le Petomane: It is?
136
- Hedley Lamarr: Here, sir, play with this.
137
-
138
- Gabby Johnson: I wash born here, an I wash raished here, and dad gum it, I am gonna die here, an no sidewindin' bushwackin', hornswagglin' cracker croaker is gonna rouin me bishen cutter.
139
-
140
- Taggart: Dang, that was lucky. Doggone near lost a four hundred dollar handcar.
141
-
142
- Lyle: Send wire, main office, tell them I said "ow". Gotcha!
143
-
144
- Bart: And they was right.
145
-
146
- Dr. Samuel Johnson: He said the sheriff's near.
147
-
148
- Howard Johnson: As honorary chairman of the welcoming committee, it's my privilege to present a laurel and hearty handshake to our new ...
149
-
150
- Bart: No, thank you. Fifteen is my limit on schnitzengruben.
151
-
152
- Bart: And now, for my next impression ... Jesse Owens.
153
-
154
-
155
- Hedley Lamarr: Men, you are about to embark on a great crusade to stamp out runaway decency in the west. Now you men will only be risking your lives, whilst I will be risking an almost certain Academy Award nomination for Best Supporting Actor.
156
-
157
- Jim: See? In another twenty-five years, you'll be able to shake their hands in broad daylight.
158
-
159
- Howard Johnson: Y'know, Nietzsche says: "Out of chaos comes order."
160
-
161
- Bart: Well, raise my rent. You are The Kid.
162
-
163
- Bart: ... to tell the family secret, my grandmother was Dutch.
164
-
165
- Bart: All right, you caught me. To speak the plain truth, it's getting pretty damn dull around here.
166
-
167
- Lili von Shtupp: Vhy don't you admit it? He's too much of man for you. I know. You're going to need an army to beat him! You're finished. Fertig! Verfallen! Verlumpt! Verblunget! Verkackt!
168
-
169
- Hedley Lamarr: Elementary, cactus head.
170
-
171
- Governor William J. Le Petomane: Ha ha... wrong person. Forgive me. No offense intended.
172
-
173
- Buddy Bizarre: Watch me! It's so simple! Give me the playback!
174
-
175
- Buddy Bizarre: Sounds like steam escaping.
176
-
177
- Bart: Hey, Charlie? Let me ask you something: what is it that's not exactly water and it ain't exactly earth?
178
-
179
- Bart: Well, can't you see that's the last act of a desperate man?
180
-
181
- Howard Johnson: We don't care if it's the first act of "Henry V," we're leaving!
182
-
183
- Hedley Lamarr: Alright, I'm through being Mr. Goodbar, the time has come to act and act quickly.
184
-
185
- Governor William J. Le Petomane: We've gotta protect our phoney baloney jobs, gentlemen!
186
-
187
- Reverend Johnson: Gentlemen, gentlemen, allow not hatred to rule the day.
188
-
189
- Olson Johnson: Now who can argue with that? I think we're all indebted to Gabby Johnson for clearly stating what needed to be said. I'm particulary glad that these lovely children were here today to hear that speech. Not only was it authentic frontier gibberish, it expressed a courage little seen in this day and age.
190
-
191
- Olson Johnson: What are we made of? Our fathers came across the prairies, fought Indians, fought drought, fought locusts, fought Dix... remember when Richard Dix came in here and tried to take over this town? Well, we didn't give up then, and by gum, we're not going to give up now!
192
-
193
- Governor William J. Le Petomane: I didn't get a "harrumph" out of that guy!
194
- Hedley Lamarr: Give the Governor harrumph!
195
-
196
- Governor William J. Le Petomane: You watch your ass.
197
-
198
- Reverend Johnson: O Lord, do we have the strength to carry off this mighty task in one night?
199
-
200
- Hedley Lamarr: Ah, Haley vs. United States. Haley: 7, United States: nothing. You see, it can be done!
201
-
202
- Hedley Lamarr: Chewing gum on line, eh? I hope you brought enough for everybody.
203
-
204
- Jim: Boy, is he strict!
205
-
206
- Hedley Lamarr: This is the bill that will convert the state hospital for the insane into the William J. Le Petomane memorial gambling casino for the insane.
207
-
208
- Governor William J. Le Petomane: Gentlemen, this bill will be a giant step forward in the treatment of the insane gambler.
209
-
210
-
211
- Hedley Lamarr: Now go do... that voodoo... that YOU do... SO WELL...!
212
-
213
- Van Johnson: Sheriff! Mongo's back! He's breaking up the whole town! You've got to help us, please!
214
- Bart: Did you hear that? Now it's "please". This morning, I couldn't get the time of day. Who is this Mongo, anyway?
215
- Jim: Well, Mongo ain't exactly a "who". He's more of a "what".
216
- Van Johnson: What he said.
217
- Van Johnson: Oh, thank you, Sheriff! Oh, thank you very much! Thank you!
218
- Van Johnson: The fool's going to... I mean, the sheriff's going to do it!
data/bin/quotes.orig.txt DELETED
@@ -1,145 +0,0 @@
1
- Lyle:Come on, boys! The way you're lollygaggin' around here with them picks and them shovels, you'd think it was a hundert an' twenty degrees!... Can't be more than a hundert an' fourteen!
2
- Hedley Lamarr: There might be a legal precedent. Land snatching ... L-l-land. See snatch."
3
- Hedley Lamarr: If I could find a sheriff who so offends the people of Rock Ridge that his very appearance would drive them out of town! Wherever will I find such a man? ... Why am I asking you?
4
- Jim: No. Don't do that, don't do that. If you shoot him you'll just make him mad.
5
- Jim: What did you expect? "Welcome, sonny"? "Make yourself at home"? "Marry my daughter"? You've got to remember that these are just simple farmers. These are people of the land. The common clay of the new West. You know ... morons.
6
- Lili von Shtupp: Willkommen, Bienvenue, Welcome, C'mon in.
7
- Taggart: Ah'm werkin' fer Mel Brooks!
8
- Taggart: Le Petomane Thruway. Now what'll that asshole think of next? Does anybody got a dime? Somebody has to go back and get a shitload of dimes.
9
- Mongo: Mongo only pawn in the game of life.
10
- Mongo: Mongo like candy!
11
-
12
- Bart: Are we awake?
13
- Jim: We're not sure. Are we...black?
14
- Bart: Yes we are.
15
- Jim: Then we're awake. But we're very puzzled.
16
-
17
- Bart: What's your name?
18
- Jim: My name's Jim, but most people call me ... Jim.
19
-
20
- Bart: Well Jim, since you are my guest and I am your host, what are your pleasures. What do you like to do?
21
- Jim: Oh, I don't know. Play chess ...
22
- Bart: Well, let's play chess.
23
-
24
- Bart: By the power invested in me by the honorable William J. Le Petomane, I hereby assume the duties of sheriff in and for the township of Rock Ridge.
25
-
26
- Dr. Johnson: Hold it men! He's not bluffing!
27
- Dr. Samuel Johnson: Listen to him, men; he's just crazy enough to do it!
28
- Harriet Johnson: Isn't anyone going to help that poor man?
29
- Dr. Samuel Johnson: Hush, Harriet! That's a sure way to get him killed!
30
- Bart: Oh, baby, you are so talented, and they so dumb!
31
-
32
- Hedley Lamarr: My mind is aglow with whirling, transient nodes of thought careening through a cosmic vapor of invention.
33
- Taggart: Ditto!
34
- Hedley Lamarr: Ditto?! Ditto, you provincial putz?!
35
-
36
- Hedley Lamarr: My mind is a raging torrent, flooded with rivulets of thought, cascading into a waterfall of creative alternatives...
37
-
38
- Hedley Lamarr: I want rustlers, cut throats, murderers, bounty hunters, desperados, mugs, pugs, thugs, nitwits, halfwits, dimwits, vipers, snipers, con men, Indian agents, Mexican bandits, muggers, buggerers, bushwhackers, hornswogglers, horse thieves, bull dykes, train robbers, bank robbers, ass-kickers, shit-kickers, and Methodists!
39
-
40
- Taggart: What in the Wide World of Sports is a-goin' on here? I hired you people to get some track laid ...
41
-
42
- Buddy Bizarre: CUT! What in the hell do you think you're doing here? This is a closed set.
43
- Buddy Bizarre: Not in the face.
44
-
45
- Hedley Lamarr: "Head them off at the pass?" I hate that cliche!
46
-
47
- Lyle: Don't pay no attention to that alky. He can't hold a gun, much less shoot it.
48
-
49
- Bart: Well, don't just stand there looking stupid, grasping your hands in pain. How about a round of applause for The Waco Kid?
50
-
51
- Hedley Lamarr: Charming. Sign right here.
52
-
53
- Harriet Johnson: ... wish to express our extreme displeasure with your choice of sheriff. Please remove him immediately! The fact that you have sent him here just goes to prove that you are the leading asshole in the state!
54
-
55
- Lili von Shtupp: A wed wose. How womantic.
56
-
57
- Bart: A man drink like that and he don't eat, he is going to DIE.
58
-
59
- Mongo: Huh-huh, naw, Mongo straight.
60
-
61
- Hedley Lamarr: Meeting adjourned. Oh, I am sorry, sir, I didn't mean to overstep my bounds. You say that.
62
- Governor William J. Le Petomane: It is?
63
- Hedley Lamarr: Here, sir, play with this.
64
-
65
- Gabby Johnson: I wash born here, an I wash raished here, and dad gum it, I am gonna die here, an no sidewindin' bushwackin', hornswagglin' cracker croaker is gonna rouin me bishen cutter.
66
-
67
- Taggart: Dang, that was lucky. Doggone near lost a four hundred dollar handcar.
68
-
69
- Lyle: Send wire, main office, tell them I said "ow". Gotcha!
70
-
71
- Bart: And they was right.
72
-
73
- Dr. Samuel Johnson: He said the sheriff's near.
74
-
75
- Howard Johnson: As honorary chairman of the welcoming committee, it's my privilege to present a laurel and hearty handshake to our new ...
76
-
77
- Bart: No, thank you. Fifteen is my limit on schnitzengruben.
78
-
79
- Bart: And now, for my next impression ... Jesse Owens.
80
-
81
-
82
- Hedley Lamarr: Men, you are about to embark on a great crusade to stamp out runaway decency in the west. Now you men will only be risking your lives, whilst I will be risking an almost certain Academy Award nomination for Best Supporting Actor.
83
-
84
- Jim: See? In another twenty-five years, you'll be able to shake their hands in broad daylight.
85
-
86
- Howard Johnson: Y'know, Nietzsche says: "Out of chaos comes order."
87
-
88
- Bart: Well, raise my rent. You are The Kid.
89
-
90
- Bart: ... to tell the family secret, my grandmother was Dutch.
91
-
92
- Bart: All right, you caught me. To speak the plain truth, it's getting pretty damn dull around here.
93
-
94
- Lili von Shtupp: Vhy don't you admit it? He's too much of man for you. I know. You're going to need an army to beat him! You're finished. Fertig! Verfallen! Verlumpt! Verblunget! Verkackt!
95
-
96
- Hedley Lamarr: Elementary, cactus head.
97
-
98
- Governor William J. Le Petomane: Ha ha... wrong person. Forgive me. No offense intended.
99
-
100
- Buddy Bizarre: Watch me! It's so simple! Give me the playback!
101
-
102
- Buddy Bizarre: Sounds like steam escaping.
103
-
104
- Bart: Hey, Charlie? Let me ask you something: what is it that's not exactly water and it ain't exactly earth?
105
-
106
- Bart: Well, can't you see that's the last act of a desperate man?
107
-
108
- Howard Johnson: We don't care if it's the first act of "Henry V," we're leaving!
109
-
110
- Hedley Lamarr: Alright, I'm through being Mr. Goodbar, the time has come to act and act quickly.
111
-
112
- Governor William J. Le Petomane: We've gotta protect our phoney baloney jobs, gentlemen!
113
-
114
- Reverend Johnson: Gentlemen, gentlemen, allow not hatred to rule the day.
115
-
116
- Olson Johnson: Now who can argue with that? I think we're all indebted to Gabby Johnson for clearly stating what needed to be said. I'm particulary glad that these lovely children were here today to hear that speech. Not only was it authentic frontier gibberish, it expressed a courage little seen in this day and age.
117
-
118
- Olson Johnson: What are we made of? Our fathers came across the prairies, fought Indians, fought drought, fought locusts, fought Dix... remember when Richard Dix came in here and tried to take over this town? Well, we didn't give up then, and by gum, we're not going to give up now!
119
-
120
- Governor William J. Le Petomane: I didn't get a "harrumph" out of that guy!
121
- Hedley Lamarr: Give the Governor harrumph!
122
-
123
- Governor William J. Le Petomane: You watch your ass.
124
-
125
- Reverend Johnson: O Lord, do we have the strength to carry off this mighty task in one night?
126
-
127
- Hedley Lamarr: Ah, Haley vs. United States. Haley: 7, United States: nothing. You see, it can be done!
128
-
129
- Hedley Lamarr: Chewing gum on line, eh? I hope you brought enough for everybody.
130
-
131
- Jim: Boy, is he strict!
132
-
133
- Hedley Lamarr: This is the bill that will convert the state hospital for the insane into the William J. Le Petomane memorial gambling casino for the insane.
134
-
135
- Governor William J. Le Petomane: Gentlemen, this bill will be a giant step forward in the treatment of the insane gambler.
136
-
137
-
138
- Hedley Lamarr: Now go do... that voodoo... that YOU do... SO WELL...!
139
-
140
- Van Johnson: Sheriff! Mongo's back! He's breaking up the whole town! You've got to help us, please!
141
- Bart: Did you hear that? Now it's "please". This morning, I couldn't get the time of day. Who is this Mongo, anyway?
142
- Jim: Well, Mongo ain't exactly a "who". He's more of a "what".
143
- Van Johnson: What he said.
144
- Van Johnson: Oh, thank you, Sheriff! Oh, thank you very much! Thank you!
145
- Van Johnson: The fool's going to... I mean, the sheriff's going to do it!
data/bin/quotes.txt DELETED
@@ -1,64 +0,0 @@
1
- Bart: ... to tell the family secret, my grandmother was Dutch.
2
- Bart: A man drink like that and he don't eat, he is going to DIE.
3
- Bart: All right, you caught me. To speak the plain truth, it's getting pretty damn dull around here.
4
- Bart: And now, for my next impression ... Jesse Owens.
5
- Bart: And they was right.
6
- Bart: Are we awake?
7
- Bart: By the power invested in me by the honorable William J. Le Petomane, I hereby assume the duties of sheriff in and for the township of Rock Ridge.
8
- Bart: Did you hear that? Now it's "please". This morning, I couldn't get the time of day. Who is this Mongo, anyway?
9
- Bart: Hey, Charlie? Let me ask you something: what is it that's not exactly water and it ain't exactly earth?
10
- Bart: No, thank you. Fifteen is my limit on schnitzengruben.
11
- Bart: Oh, baby, you are so talented, and they so dumb!
12
- Bart: Well Jim, since you are my guest and I am your host, what are your pleasures. What do you like to do?
13
- Bart: Well, can't you see that's the last act of a desperate man?
14
- Bart: Well, don't just stand there looking stupid, grasping your hands in pain. How about a round of applause for The Waco Kid?
15
- Bart: Well, let's play chess.
16
- Bart: Well, raise my rent. You are The Kid.
17
- Bart: What's your name?
18
- Bart: Yes we are.
19
- Buddy Bizarre: Not in the face.
20
- Buddy Bizarre: Sounds like steam escaping.
21
- Dr. Samuel Johnson: He said the sheriff's near.
22
- Dr. Samuel Johnson: Hush, Harriet! That's a sure way to get him killed!
23
- Dr. Samuel Johnson: Listen to him, men; he's just crazy enough to do it!
24
- Governor William J. Le Petomane: Gentlemen, this bill will be a giant step forward in the treatment of the insane gambler.
25
- Governor William J. Le Petomane: Ha ha... wrong person. Forgive me. No offense intended.
26
- Governor William J. Le Petomane: I didn't get a "harrumph" out of that guy!
27
- Governor William J. Le Petomane: You watch your ass.
28
- Hedley Lamarr: "Head them off at the pass?" I hate that cliche!
29
- Hedley Lamarr: Ah, Haley vs. United States. Haley: 7, United States: nothing. You see, it can be done!
30
- Hedley Lamarr: Alright, I'm through being Mr. Goodbar, the time has come to act and act quickly.
31
- Hedley Lamarr: Charming. Sign right here.
32
- Hedley Lamarr: Ditto?! Ditto, you provincial putz?!
33
- Hedley Lamarr: Elementary, cactus head.
34
- Hedley Lamarr: Give the Governor harrumph!
35
- Hedley Lamarr: I want rustlers, cut throats, murderers, bounty hunters, desperados, mugs, pugs, thugs, nitwits, halfwits, dimwits, vipers, snipers, con men, Indian agents, Mexican bandits, muggers, buggerers, bushwhackers, hornswogglers, horse thieves, bull dykes, train robbers, bank robbers, ass-kickers, shit-kickers, and Methodists!
36
- Hedley Lamarr: If I could find a sheriff who so offends the people of Rock Ridge that his very appearance would drive them out of town! Wherever will I find such a man? ... Why am I asking you?
37
- Hedley Lamarr: Meeting adjourned. Oh, I am sorry, sir, I didn't mean to overstep my bounds. You say that.
38
- Hedley Lamarr: Men, you are about to embark on a great crusade to stamp out runaway decency in the west. Now you men will only be risking your lives, whilst I will be risking an almost certain Academy Award nomination for Best Supporting Actor.
39
- Hedley Lamarr: My mind is a raging torrent, flooded with rivulets of thought, cascading into a waterfall of creative alternatives...
40
- Hedley Lamarr: My mind is aglow with whirling, transient nodes of thought careening through a cosmic vapor of invention.
41
- Hedley Lamarr: Now go do... that voodoo... that YOU do... SO WELL...!
42
- Hedley Lamarr: There might be a legal precedent. Land snatching ... L-l-land. See snatch."
43
- Hedley Lamarr: This is the bill that will convert the state hospital for the insane into the William J. Le Petomane memorial gambling casino for the insane.
44
- Howard Johnson: As honorary chairman of the welcoming committee, it's my privilege to present a laurel and hearty handshake to our new ...
45
- Howard Johnson: We don't care if it's the first act of "Henry V," we're leaving!
46
- Jim: My name's Jim, but most people call me ... Jim.
47
- Jim: No. Don't do that, don't do that. If you shoot him you'll just make him mad.
48
- Jim: Oh, I don't know. Play chess ...
49
- Jim: See? In another twenty-five years, you'll be able to shake their hands in broad daylight.
50
- Jim: Then we're awake. But we're very puzzled.
51
- Jim: Well, Mongo ain't exactly a "who". He's more of a "what".
52
- Jim: What did you expect? "Welcome, sonny"? "Make yourself at home"? "Marry my daughter"? You've got to remember that these are just simple farmers. These are people of the land. The common clay of the new West. You know ... morons.
53
- Lyle: Come on, boys! The way you're lollygaggin' around here with them picks and them shovels, you'd think it was a hundert an' twenty degrees!... Can't be more than a hundert an' fourteen!
54
- Mongo: Mongo like candy!
55
- Reverend Johnson: Gentlemen, gentlemen, allow not hatred to rule the day.
56
- Reverend Johnson: O Lord, do we have the strength to carry off this mighty task in one night?
57
- Taggart: Ah'm werkin' fer Mel Brooks!
58
- Taggart: Dang, that was lucky. Doggone near lost a four hundred dollar handcar.
59
- Taggart: Le Petomane Thruway. Now what'll that asshole think of next? Does anybody got a dime? Somebody has to go back and get a shitload of dimes.
60
- Taggart: What in the Wide World of Sports is a-goin' on here? I hired you people to get some track laid ...
61
- Van Johnson: Oh, thank you, Sheriff! Oh, thank you very much! Thank you!
62
- Van Johnson: Sheriff! Mongo's back! He's breaking up the whole town! You've got to help us, please!
63
- Van Johnson: The fool's going to... I mean, the sheriff's going to do it!
64
- Van Johnson: What he said.
data/lib/pvn/app.rb DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # -*- ruby -*-
3
-
4
- require 'rubygems'
5
- require 'riel'
6
-
7
- require 'pvn/app/runner'
data/lib/pvn/cmddoc.rb DELETED
@@ -1,77 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # -*- ruby -*-
3
-
4
- require 'rubygems'
5
- require 'riel'
6
-
7
- module PVN
8
- class CommandDoc
9
- attr_accessor :subcommands
10
- attr_accessor :description
11
- attr_accessor :usage
12
- attr_accessor :summary
13
-
14
- attr_reader :examples
15
- attr_reader :options
16
-
17
- def initialize
18
- @subcommands = nil
19
- @description = nil
20
- @usage = nil
21
- @summary = nil
22
- @options = Array.new
23
- @examples = Array.new
24
- end
25
-
26
- def to_doc io = $stdout
27
- doc = Array.new
28
-
29
- subcmds = @subcommands
30
-
31
- subcmdstr = subcmds[0].dup
32
- if subcmds.size > 1
33
- subcmdstr << " (" << subcmds[1 .. -1].join(" ") << ")"
34
- end
35
-
36
- io.puts subcmdstr + ": " + @description
37
- io.puts "usage: " + subcmds[0] + " " + @usage
38
- io.puts ""
39
- io.puts @summary.collect { |line| " " + line }
40
-
41
- write_section "options", @options, io do |opt, io|
42
- option_to_doc opt, io
43
- end
44
-
45
- write_section "examples", @examples, io do |ex, io|
46
- example_to_doc ex, io
47
- end
48
- end
49
-
50
- def write_section name, section, io
51
- if section.length > 0
52
- io.puts ""
53
- io.puts "#{name.capitalize}:"
54
- io.puts ""
55
-
56
- section.each do |opt|
57
- yield opt, io
58
- end
59
- end
60
- end
61
-
62
- def example_to_doc ex, io
63
- ex.each_with_index do |line, idx|
64
- if idx == 0
65
- io.puts " % #{line}"
66
- else
67
- io.puts " #{line}"
68
- end
69
- end
70
- io.puts
71
- end
72
-
73
- def option_to_doc opt, io
74
- opt.to_doc io
75
- end
76
- end
77
- end
data/lib/pvn/diff/name.rb DELETED
@@ -1,23 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # -*- ruby -*-
3
-
4
- require 'rubygems'
5
- require 'riel'
6
-
7
- module PVN; module Diff; end; end
8
-
9
- module PVN::Diff
10
- # represents names in LogPaths and StatusPaths.
11
- ### $$$ todo: integrate with those classes.
12
- class Name
13
- include Loggable
14
-
15
- def initialize namestr
16
- @namestr = namestr
17
- end
18
-
19
- def to_s
20
- @namestr
21
- end
22
- end
23
- end
data/lib/svnx/action.rb DELETED
@@ -1,47 +0,0 @@
1
- #!/usr/bin/ruby -w
2
- # -*- ruby -*-
3
-
4
- require 'rubygems'
5
- require 'riel'
6
-
7
- module SVNx
8
- class Action
9
- include Loggable, Comparable
10
-
11
- attr_reader :type
12
-
13
- STATUS_TO_TYPE = Hash.new
14
-
15
- def self.add_type sym, str, char
16
- [ sym, str, char ].each do |key|
17
- STATUS_TO_TYPE[key] = sym
18
- end
19
- end
20
-
21
- add_type :added, 'added', 'A'
22
- add_type :deleted, 'deleted', 'D'
23
- add_type :modified, 'modified', 'M'
24
- add_type :unversioned, 'unversioned', '?'
25
-
26
- STATUS_TO_TYPE.values.uniq.each do |val|
27
- methname = val.to_s + '?'
28
- define_method methname do
29
- instance_eval do
30
- @type == STATUS_TO_TYPE[val]
31
- end
32
- end
33
- end
34
-
35
- def initialize str
36
- @type = STATUS_TO_TYPE[str]
37
- end
38
-
39
- def <=> other
40
- @type.to_s <=> other.type.to_s
41
- end
42
-
43
- def to_s
44
- @type.to_s
45
- end
46
- end
47
- end