File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ module GitUpdate
4747
4848 def GitUpdate . fetch g , working_dir
4949 case
50- when git_svn_repo g
50+ when git_svn_repo ( g )
5151 lines = `git --git-dir='#{ @git_dir } ' svn fetch 2>&1` . split ( "\n " )
5252 lines . reject! do |line |
5353 line =~ /^(W: |This may take a while|Checked through|$)/
@@ -81,10 +81,10 @@ module GitUpdate
8181 end
8282
8383 def GitUpdate . push_or_pull g , working_dir , branch
84- remote = g . config [ "branch.#{ branch . name } .remote" ] || git_svn_repo g
84+ remote = g . config [ "branch.#{ branch . name } .remote" ] || git_svn_repo ( g )
8585 if remote
8686 remote_sha =
87- if git_svn_repo g
87+ if git_svn_repo ( g )
8888 g . revparse 'trunk' rescue g . revparse 'git-svn'
8989 else
9090 g . revparse File . join ( remote , branch . name )
You can’t perform that action at this time.
0 commit comments