钱海远(Nathan)
2018-10-16 09:17:04 UTC
Dear Sir,
During I am testing the -include' and '-exclude' options on 'svnadmin dump' , I found that if I copy a non-include file, the dump result is to add a file with file content; But if the copy is a non-include directory, the dump only adds this directory.
I think, this may be wrong, it should be copy of the directory and all the files under the directory .
[***@RD-230 subversion]# svnadmin dump /data1/svnroot/Dev --incremental -r 13386 --include "/CM Action/Tools" > /tmp/test.dmp
ÒÑתŽæ°æ±Ÿ 13386¡£
[***@RD-230 subversion]# cat /tmp/test.dmp
SVN-fs-dump-format-version: 2UUID: 313b818e-f7ce-944b-8d5d-4aca2895b6b9
Revision-number: 13386
Prop-content-length: 89
Content-length: 89
K 10
svn:author
V 11
qianhaiyuan
K 8
svn:date
V 27
2018-07-04T04:18:48.877124Z
PROPS-END
Node-path: CM Action/Tools/diffcount
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10
PROPS-END
In fact, the copy directory has many files. But the dump file is only add a new dir.
[cid:***@01D46572.FAAA9F30]
________________________________
Best Regards!
Haiyuan Qian
R & D Management Group
Hangzhou Hikvision Digital Technology Co.,Ltd
No.555 Qianmo Road, Binjiang District, Hangzhou 310052, China
T (86571)88075998£20081
M (86)18969199712
±ŸÓÊŒþŒ°ÆäžœŒþº¬Óк£¿µÍþÊÓ¹«ËŸµÄ±£ÃÜÐÅÏ¢£¬œöÏÞÓÚ·¢ËÍžøÉÏÃæµØÖ·ÖÐÁгöµÄžöÈË»òȺ×é¡£œûÖ¹ÈκÎÆäËûÈËÒÔÈκÎÐÎʜʹÓãš°üÀšµ«²»ÏÞÓÚÈ«²¿»ò²¿·ÖµØй¶¡¢žŽÖÆ¡¢»òÉ¢·¢£©±ŸÓÊŒþÖеÄÐÅÏ¢¡£Èç¹ûÄúŽíÊÕÁ˱ŸÓÊŒþ£¬ÇëÄúÁ¢ŒŽµç»°»òÓÊŒþÍšÖª·¢ŒþÈ˲¢ÉŸ³ý±ŸÓÊŒþ£¡
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>
During I am testing the -include' and '-exclude' options on 'svnadmin dump' , I found that if I copy a non-include file, the dump result is to add a file with file content; But if the copy is a non-include directory, the dump only adds this directory.
I think, this may be wrong, it should be copy of the directory and all the files under the directory .
[***@RD-230 subversion]# svnadmin dump /data1/svnroot/Dev --incremental -r 13386 --include "/CM Action/Tools" > /tmp/test.dmp
ÒÑתŽæ°æ±Ÿ 13386¡£
[***@RD-230 subversion]# cat /tmp/test.dmp
SVN-fs-dump-format-version: 2UUID: 313b818e-f7ce-944b-8d5d-4aca2895b6b9
Revision-number: 13386
Prop-content-length: 89
Content-length: 89
K 10
svn:author
V 11
qianhaiyuan
K 8
svn:date
V 27
2018-07-04T04:18:48.877124Z
PROPS-END
Node-path: CM Action/Tools/diffcount
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10
PROPS-END
In fact, the copy directory has many files. But the dump file is only add a new dir.
[cid:***@01D46572.FAAA9F30]
________________________________
Best Regards!
Haiyuan Qian
R & D Management Group
Hangzhou Hikvision Digital Technology Co.,Ltd
No.555 Qianmo Road, Binjiang District, Hangzhou 310052, China
T (86571)88075998£20081
M (86)18969199712
±ŸÓÊŒþŒ°ÆäžœŒþº¬Óк£¿µÍþÊÓ¹«ËŸµÄ±£ÃÜÐÅÏ¢£¬œöÏÞÓÚ·¢ËÍžøÉÏÃæµØÖ·ÖÐÁгöµÄžöÈË»òȺ×é¡£œûÖ¹ÈκÎÆäËûÈËÒÔÈκÎÐÎʜʹÓãš°üÀšµ«²»ÏÞÓÚÈ«²¿»ò²¿·ÖµØй¶¡¢žŽÖÆ¡¢»òÉ¢·¢£©±ŸÓÊŒþÖеÄÐÅÏ¢¡£Èç¹ûÄúŽíÊÕÁ˱ŸÓÊŒþ£¬ÇëÄúÁ¢ŒŽµç»°»òÓÊŒþÍšÖª·¢ŒþÈ˲¢ÉŸ³ý±ŸÓÊŒþ£¡
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>