Index: openacs-4/packages/xowiki/www/admin/import.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/import.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/xowiki/www/admin/import.tcl 3 Jan 2007 23:13:40 -0000 1.7 +++ openacs-4/packages/xowiki/www/admin/import.tcl 5 Jan 2007 21:22:21 -0000 1.8 @@ -30,11 +30,12 @@ set f [open $upload_tmpfile]; set content [read $f]; close $f foreach o [::xowiki::Page allinstances] { $o destroy } - if {[catch {eval $content} error]} { + if {[catch {namespace eval ::xo::import $content} error]} { set msg "Error: $error" } else { - set msg [::xowiki::Page import -replace 1] + set msg [::xowiki::Page import -replace 0] } + namespace delete ::xo::import }