Skip to content

Commit 1686525

Browse files
committed
commands.rb: Ignore .git directories instead of .svn when uploading update
When doing the migration to git, we neglected to modify the exclude list for the updater upload from .svn to .git. This means that we're copying all of the history up as well, which substantially slows the build process. This patch changes the exclude from .git to .svn.
1 parent e9d0eb4 commit 1686525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ def upload_files_for_updater(update_ssh_host, update_ssh_user, update_path,
137137
program_temp = "#{update_temp_path}/#{program_unix_name}"
138138
buildscript_temp = "#{update_temp_path}/buildscript"
139139

140-
server.upload('./', program_temp, :exclude => '.svn')
140+
server.upload('./', program_temp, :exclude => '.git')
141141
server.upload("#{buildscript_source_dir}/", buildscript_temp,
142-
:exclude => '.svn')
142+
:exclude => '.git')
143143
server.run('chmod', '-R', 'a+r', program_temp, buildscript_temp)
144144
server.run('chmod', '-R', 'ug+wX', program_temp, buildscript_temp)
145145
server.run('ruby', "-I#{update_temp_path}",

0 commit comments

Comments
 (0)