diff
Diff
code posted
created at 17 Jul 00:57, updated at 22 Sep 04:41
Edit
|
Back
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 27 28 29 30 31 32 33 |
--- git.rb 2010-07-16 17:56:36.000000000 -0300 +++ xpto.rb 2010-07-16 17:55:55.000000000 -0300 @@ -11,23 +11,22 @@ branch = {} -branch[:mirror_cvs] = "#{repositorios_git_path}/desenvolvimento.import.git" branch[:clone_mirror_cvs] = "#{repositorios_git_path}/desenvolvimento.git" -#branch[:instavel_tmp] = "#{repositorios_git_path}/instavel_tmp" +branch[:instavel_tmp] = "#{repositorios_git_path}/instavel_tmp" -#controle_bugs_arquivo = "#{branch[:instavel_tmp]}/src/controle_bugs.txt" +controle_bugs_arquivo = "#{branch[:instavel_tmp]}/src/controle_bugs.txt" -repositorio = Repo.new branch[:mirror_cvs] +reposi = Repo.new branch[:mirror_cvs] #controle = File.new controle_bugs_arquivo #commits_efetuados = controle.to_a.collect { |x| x = x.split(" ").first } puts '=' * 80 -repositorio.log('master',nil, :grep => '6510').each do |commit| +reposi.log('master',nil, :grep => '6510').each do |commit| pretty_print_commit commit #unless commits_efetuados.include? commit.id - pp commit.show[0].diff -# commit.public_methods.sort.each { |x| puts x } +# pp commit.show[0].diff + commit.public_methods.sort.each { |x| puts x } end |
1.19 KB in 5 ms with coderay