lib/apps/svn.rb in dev-2.0.269 vs lib/apps/svn.rb in dev-2.0.270
- old
+ new
@@ -1,9 +1,8 @@
-puts __FILE__ if defined?(DEBUG)
-
require 'fileutils'
require 'tmpdir'
+require_relative('../base/dir.rb')
class Svn
def self.latest_revision
if(Dir.exists?(".svn"))
`svn update`
@@ -129,10 +128,10 @@
raise "failure 'svn commit -m'added files''" + output
end
end
#begin
- Environment.remove "#{dir}/to_publish_checkout"
+ Dir.remove "#{dir}/to_publish_checkout"
output
}
end
end
end
\ No newline at end of file