ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/svn2cvs/svn2cvs
(Generate patch)

Comparing svn2cvs (file contents):
Revision 1.3 by nishi, Fri Oct 4 00:35:49 2024 UTC vs.
Revision 1.4 by nishi, Wed Oct 9 11:58:36 2024 UTC

# Line 18 | Line 18 | exec -ignorestderr svn up "$svn" -r "$re
18   exec -ignorestderr cvs up -d "$cvs"
19  
20   proc rescan {path prefix} {
21 <        global svn cvs cache old
21 >        global svn cvs cache old added
22          foreach name [glob -tails -nocomplain -directory "$path" *] {
23                  if { [file type "$path/$name"] == "directory" } {
24                          if { ! [file exists "$cvs/$prefix/$name"] } {
# Line 57 | Line 57 | proc rescan {path prefix} {
57   }
58  
59   proc remove_left {path prefix} {
60 <        global svn cvs cache old
60 >        global svn cvs cache old removed
61          foreach name [glob -tails -nocomplain -directory "$path" *] {
62                  if { [file type "$path/$name"] == "directory" } {
63                          if { "$name" != "CVS" } {
# Line 81 | Line 81 | remove_left "$cvs" ""
81  
82   cd "$cvs"
83   if { "$added" != "" } {
84 <        exec -ignorestderr cvs add \"[join $added "\" \""]\"
84 >        exec -ignorestderr cvs add $added >/dev/stdout 2>@1
85   }
86   if { "$removed" != "" } {
87 <        exec -ignorestderr cvs rm \"[join $removed "\" \""]\"
87 >        exec -ignorestderr cvs rm $removed >/dev/stdout 2>@1
88   }
89   exec -ignorestderr cvs ci -m "$log"
90   cd "$old"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines