RE: Svnmucc sensitive to order of mkdir
Date: Wed, 6 May 2020 12:27:58 +0200
1.8.15 just orders the operations based on path, so you may be lucky that it works, but there are a lot of other examples where pre 1.9 fail caused by the simplicity of the code there. (Thinks like renaming directories and then applying operations). With 1.9 there is a backing framework that should allow options like –parent to be added without too much hassle. (I know the path exists check that knows the previously scheduled operations is there… It is probably the reason your example of adding a directory before its parent fails).
I think parsing the commandline with optional flags might be the hardest part here, as svnmucc doesn’t have such options on subcommands yet as far as I know.
Van: 钱海远(Nathan) <qianhaiyuan_at_hikvision.com>
I <mailto:firstname.lastname@example.org> was discuss with Daniel Shahaf about the Issue: https://issues.apache.org/jira/browse/SVN-4854
SVN 1.10.6 change the svnmucc , it’s sensitive with mkdir operations, if a want to mkdir /foot/bar when /foot is not exists , svnmucc only can work with svnmucc mkdir ‘/foor’ mkdir ‘/foot/bar’ . Cannot work with svnmucc mkdir ‘/foot/bar’ mkdir ‘/foot’. But it’s both success with 1.8.15 version.
Daniel Shahaf told me the new subversion is much more sensitive to order of operation.
So, can we set the option --parent with svnmucc mkdir?
R & D Management Group
Hangzhou Hikvision Digital Technology Co.,Ltd
No.555 Qianmo Road, Binjiang District, Hangzhou 310052, China
This e-mail and its attachments contain confidential information from HIKVISION, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
CONFIDENTIALITY NOTICE: This electronic message is intended to be viewed only by the individual or entity to whom it is addressed. It may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any dissemination, distribution or copying of this communication is strictly prohibited without our prior permission. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, or if you have received this communication in error, please notify us immediately by return e-mail and delete the original message and any copies of it from your computer system. For further information about Hikvision company. please see our website at www.hikvision.com <http://www.hikvision.com>
This is an archived mail posted to the Subversion Dev mailing list.