Gavin Stark created JRUBY-6503:
----------------------------------

             Summary: FileUtils#mv with :force => true has different behavior 
than MRI when source does not exist but destination does
                 Key: JRUBY-6503
                 URL: https://jira.codehaus.org/browse/JRUBY-6503
             Project: JRuby
          Issue Type: Bug
          Components: Standard Library
    Affects Versions: JRuby 1.6.7
            Reporter: Gavin Stark
            Assignee: Thomas E Enebo
         Attachments: fileutils_mv_test.rb

FileUtils.mv(source, destination, :force => true)   If source does not exist 
but destination does, destination is removed.  This is different than MRI 
behavior.

I could not find a RubySpec for this nor does the documentation state what the 
behavior should be, but MRI's default seems to be the most expected.

See: https://gist.github.com/1925035

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to