summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-23 05:47:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-23 05:47:06 +0000
commit3baa8b01e857ef16b1c067f1e2693adfbb16235d (patch)
tree455afc9d66d6bb8edb2be2c2968e15b6be6eb1bc
parent6801c1c83bcf2b4d03c8298d0548f6bcc7f5efc0 (diff)
downloadruby-3baa8b01e857ef16b1c067f1e2693adfbb16235d.tar.gz
ruby-3baa8b01e857ef16b1c067f1e2693adfbb16235d.tar.xz
ruby-3baa8b01e857ef16b1c067f1e2693adfbb16235d.zip
* lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/fileutils.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 89b2c823c..81fec9c91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 23 14:47:04 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/fileutils.rb (mv): added description for the case of
+ different partitions. [ruby-talk:329072]
+
Mon Feb 23 10:19:41 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods,
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 774c0dec8..32408ee86 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