Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed ti sync

  • Loading branch information...
commit 646891f815fc723b9609c1d5ece139573e8734f3 1 parent 5f462ac
@bmfs bmfs authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/ticgit/base.rb
View
6 lib/ticgit/base.rb
@@ -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'))
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.