patch on files with svn:keywords ends up with 0600 perms
From: Doug Robinson <doug.robinson_at_wandisco.com>
Date: Fri, 26 Jul 2019 17:43:50 -0400
Committers, et. al.:
This was just sent to us by a customer. We've verified on at 1.10.4. I
---- $ svnadmin create test_repo $ svn co file:///tmp/test_repo accnt Checked out revision 0. $ cd accnt/ $ touch a.c b.c $ svn add a.c b.c A a.c A b.c # Adding property only on a.c $ svn propset svn:keywords "Id Revision Date URL Author Header" a.c property 'svn:keywords' set on 'a.c' $ ls -l total 0 -rw-r--r-- 1 accnt qa-others 0 Jul 25 13:47 a.c -rw-r--r-- 1 accnt qa-others 0 Jul 25 13:47 b.c $ svn commit -m "test commit" Adding a.c Adding b.c Transmitting file data ..done Committing transaction... Committed revision 1. $ svn patch /tmp/patch U a.c > applied hunk @@ -0,0 +1,1 @@ with offset 0 U b.c > applied hunk @@ -0,0 +1,1 @@ with offset 0 # After applying patch the permission on the file with property svn:keywords has changed. $ ls -l total 8 -rw------- 1 accnt qa-others 11 Jul 25 13:49 a.c -rw-r--r-- 1 accnt qa-others 28 Jul 25 13:49 b.c $ umask 0022 # The patch applied: $ cat /tmp/patch Index: a.c =================================================================== --- a.c (revision 1) +++ a.c (working copy) @@ -0,0 +1 @@ +test patch Index: b.c =================================================================== --- b.c (revision 1) +++ b.c (working copy) @@ -0,0 +1 @@ +test patch without keywords -- *DOUGLAS B ROBINSON* SENIOR PRODUCT MANAGER T +1 925 396 1125 *E* doug.robinson_at_wandisco.com -- * <http://wandisco.com>* **The LIVE DATA Company *Find out more *wandisco.com <http://wandisco.com/>* <https://www.wandisco.com/welcome-live-data-world-video> * THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.Received on 2019-07-26 23:44:13 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.