NAME
SVN::Rami - Automates merging to multiple branches
SYNOPSIS
Used by the script rami. This is not (yet) a stand-alone module.
SUBROUTINES
This module is only intended to be used by the script rami. There are a few publicly available subroutines, but they are not guaranteed to be compatible between revisions.
windows_safe_remove_tree
windows_safe_remove_tree "foo/bar", "c:\\temp"
This function is still in beta. Removes a directory and all its sub-directories. Same as File::Path::remove_tree, but provides a work-around for a Windows issue involving very long filenames. Works on all operating systems, not just Windows.
Statement of the problem
On Windows it is possible to create files that have more than MAX_PATH=260 characters, but Windows will report errors when you try to delete them. If you try to delete them manually, you might see this error message: "The source file names are larger than is supported by the file system". If you try to delete the files with File::Path::remove_tree
, you might see this error message: "cannot remove directory for [...]: Directory not empty".
Existing work-arounds
Besides this function, many work-arounds have been proposed. See:
A work-around in Perl which uses Win32::LongPath. (Note that the maintainers of File::Path::remove_tree have declined a request to integrate the work-around.)
AUTHOR
Dan Richter, <dan.richter at trdpnt.com>
BUGS
Please report any bugs or feature requests to bug-svn-rami at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Rami. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc SVN::Rami
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
CPAN Ratings
Search CPAN
SEE ALSO
LICENSE AND COPYRIGHT
This software is copyright (c) 2023 by Dan Richter.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.