havepatch: new script to easily check if a mailed patch is applied
Right now this only works on the hg repo, and it assumes the patch was
applied as a descendant of 3.5 to keep the checks quick. In a perfect
world I'd be able to do this all with obsolete marker checks, but that
doesn't seem to be a good option yet.
| author |
Augie Fackler <raf@durin42.com> |
| date |
Tue, 13 Oct 2015 11:04:51 -0400 |
| parents |
b2d9ac793cb0 |
| children |
|
| rev |
line source |
|
113
|
1 # -*- mode:ruby -*- |
|
|
2 IRB.conf[:AUTO_INDENT] = true |
|
|
3 IRB.conf[:USE_READLINE] = true |
|
|
4 IRB.conf[:LOAD_MODULES] = [] unless IRB.conf.key?(:LOAD_MODULES) |
|
|
5 unless IRB.conf[:LOAD_MODULES].include?('irb/completion') |
|
|
6 IRB.conf[:LOAD_MODULES] << 'irb/completion' |
|
|
7 end |
|
119
|
8 IRB.conf[:SAVE_HISTORY] = 1000 |
|
|
9 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" |