diff --git a/rb/trads.rb b/rb/trads.rb
index 606a24a..db4510e 100755
--- a/rb/trads.rb
+++ b/rb/trads.rb
@@ -206,7 +206,7 @@ class TTrads
return diff if diff and r1==diff[0][0] and r2==diff[0][1] # We have already done the diff
# Get history log
- cmd = "cd #{@ttrad.localcvs}; cvs -z0 log -r#{@sync.succ}:#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+ cmd = "cd #{@ttrad.localcvs}; cvs -z3 log -r#{@sync.succ}:#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
# Run cvs command
# DEBUG begin
# read from local file cvs.log instead (no need to load actual cvs)
@@ -228,7 +228,7 @@ class TTrads
end
# Diff the revisions
- cmd = "cd #{@ttrad.localcvs}; cvs -z0 diff -kk -t -U6 -r#{@sync} -r#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+ cmd = "cd #{@ttrad.localcvs}; cvs -z3 diff -kk -t -U6 -r#{@sync} -r#{@rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
# Run cvs command
# DEBUG begin
# read from local file cvs.log instead (no need to load actual cvs)
@@ -308,7 +308,7 @@ class TTrads
return yxml[1] if yxml and rev == yxml[0]
# Check the CVS status to see if our local copy of the CVS matches the requested revision
- cmd = "cd #{@ttrad.localcvs}; cvs -z0 status #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+ cmd = "cd #{@ttrad.localcvs}; cvs -z3 status #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
# Run cvs command
po, pe = runrun(cmd, @ttrad.log)
raise "CVS was not happy!\n\n#{pe.join("\n")}" if pe.length>0
@@ -327,7 +327,7 @@ class TTrads
# Therefore we use cvs -p -r{revision} and read the file from stdout
@ttrad.log.info("Getting #{@localfilename} (#{rev}) from repository")
# Run cvs command
- cmd = "cd #{@ttrad.localcvs}; cvs -q -z0 update -p -r#{rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
+ cmd = "cd #{@ttrad.localcvs}; cvs -q -z3 update -p -r#{rev} #{@path}/#{@ttrad.langfrom}/#{@subdir}#{@filename}"
po, pe = runrun(cmd, @ttrad.log)
raise "CVS was not happy!\n\n#{pe.join("\n")}" if pe.length > 0
raise "Cannot download #{@localfilename} from CVS.\nMaybe you should try to update your CVS copy." if po.length < 1
@@ -956,7 +956,7 @@ class TTrads
# If @genhtml contains anything, upload list of targets and our newly generated page
if @genhtml != "" then
flst = "#{@xmlfilename} #{@genxml.join(' ')} #{@genhtml.join(' ')} #{@targetList.join(' ')}".squeeze(" ")
- stdo, stdr = runrun("scp -Cq #{flst} #{@wwwdev}", @log)
+ stdo, stdr = runrun("scp -Cpq #{flst} #{@wwwdev}", @log)
raise "Could not upload files: #{stdr.join("\n")}" if stdr.length > 0
flst.split
else
|