Permalink
Browse files

Merge branch 'hotfix-1.0.1.1'

  • Loading branch information...
2 parents a5ccaa2 + ffc8b57 commit 9b63ffa17d719b8d2a580dcc3939cc9362b4f7ba @jeffWelling jeffWelling committed Mar 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ticgit-ng/base.rb
View
2 lib/ticgit-ng/base.rb
@@ -284,7 +284,7 @@ def sync_tickets(repo='origin', push=true, verbose=true )
remote_branches=@git.branches.remote.map{|b|
b.full.gsub('remotes/', '')[Regexp.new("^#{Regexp.escape(repo)}/.*")]
}.compact
- !remote_branches.include?('ticgit-ng') ? r_ticgit='ticgit-ng' : r_ticgit='ticgit'
+ remote_branches.include?('ticgit-ng') ? r_ticgit='ticgit-ng' : r_ticgit='ticgit'
in_branch(false) do
repo_g=git.remote(repo)
git.pull(repo_g, repo+'/'+r_ticgit)

0 comments on commit 9b63ffa

Please sign in to comment.