Skip to content

Commit

Permalink
changed ti sync
Browse files Browse the repository at this point in the history
  • Loading branch information
bmfs committed Mar 13, 2010
1 parent 5f462ac commit 646891f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ticgit/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def tic_states

def sync_tickets
#Dir.chdir "../tidyapp_bugs"
#bs = git.lib.branches_all.map{|b| b.first }
bs = git.lib.branches_all.map{|b| b.first }

#unless bs.include?('ticgit') && File.directory?(@tic_working)
# init_ticgit_branch(bs.include?('ticgit'))
Expand All @@ -282,11 +282,11 @@ def sync_tickets
#puts git.branch('master').checkout()
#end

in_branch('ticgit') do
in_branch(bs.include?('ticgit')) do
#puts git.add('.')
#puts git.commit('tickets update')
puts git.pull('origin','origin/ticgit')
puts git.push('origin','')
puts git.push('origin','ticgit')
puts
puts "Tickets synchronized."
end
Expand Down

0 comments on commit 646891f

Please sign in to comment.