From bcf6fd2c86e9159aee777e9de177d21772e62f08 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 23 Feb 2009 05:47:06 +0000 Subject: [PATCH] * lib/fileutils.rb (mv): added description for the case of different partitions. [ruby-talk:329072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/fileutils.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 89b2c823c3..81fec9c919 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 23 14:47:04 2009 Nobuyoshi Nakada + + * lib/fileutils.rb (mv): added description for the case of + different partitions. [ruby-talk:329072] + Mon Feb 23 10:19:41 2009 Nobuyoshi Nakada * include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods, diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 774c0dec8a..32408ee868 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -487,7 +487,7 @@ module FileUtils # Options: force noop verbose # # Moves file(s) +src+ to +dest+. If +file+ and +dest+ exist on the different - # disk partition, the file is copied instead. + # disk partition, the file is copied then the original file is removed. # # FileUtils.mv 'badname.rb', 'goodname.rb' # FileUtils.mv 'stuff.rb', '/notexist/lib/ruby', :force => true # no error