Module: Subversion::SvnCommand::Move
- Defined in:
- lib/subwrap/svn_command.rb
Overview
Instance Method Summary collapse
-
#__parents ⇒ Object
(also: #_p)
If the directory specified by the destination path does not exist, it will ‘svn mkdir –parents` the directory for you to save you the trouble (and to save you from getting an error message!).
Instance Method Details
#__parents ⇒ Object Also known as: _p
If the directory specified by the destination path does not exist, it will ‘svn mkdir –parents` the directory for you to save you the trouble (and to save you from getting an error message!).
For example, if you try to move file_name to dir1/dir2/new_file_name and dir1/dir2 is not under version control, then it will effectively do these commands:
svn mkdir --parents dir1/dir2
svn mv a dir1/dir2/new_file_name # The command you were originally trying to do
658 |
# File 'lib/subwrap/svn_command.rb', line 658 def __parents; @create_parents = true; end |