Skip to content

Commit ac4ad7e

Browse files
committed
Fixed verbose logging of sub-process STDERR stream.
1 parent 89805b4 commit ac4ad7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/svn2git/migration.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def optimize_repos
339339
end
340340

341341
def run_command(cmd, exit_on_error=true, printout_output=false)
342-
log "Running command: #{cmd}"
342+
log "Running command: #{cmd}\n"
343343

344344
ret = ''
345345
@mutex ||= Mutex.new
@@ -423,7 +423,7 @@ def run_command(cmd, exit_on_error=true, printout_output=false)
423423
end
424424

425425
def log(msg)
426-
puts msg if @options[:verbose]
426+
print msg if @options[:verbose]
427427
end
428428

429429
def show_help_message(msg)

0 commit comments

Comments
 (0)