Re: files always reported as reverted for different owner

2016-02-15 Thread Philip Martin
"Bert Huijben"  writes:

> (I'm unable to reproduce your issue with just your script)

I can reproduce, I've raised:

https://issues.apache.org/jira/browse/SVN-4622

-- 
Philip Martin
WANdisco


RE: files always reported as reverted for different owner

2016-02-15 Thread Bert Huijben


> -Original Message-
> From: Oleksiy Zagorskyi [mailto:zalex...@i.ua]
> Sent: zondag 14 februari 2016 13:31
> To: users@subversion.apache.org
> Subject: files always reported as reverted for different owner
> 
> Is that ok?
> 
> When I do "svn revert" using for example "root" account, but files in
> the folder are owned by different user, then every file is reported as
> reverted but actually there is nothing to be reverted?
> Such wrong messages mislead a lot!
> 
> An example:
> root@it0:/zab/www-dev/trunk# whoami
> root
> 
> root@it0:/zab/www-dev/trunk# ls -l users.php
> -rw-r--r-- 1 zalex zalex 13689 Jan 18 16:00 users.php
> 
> root@it0:/zab/www-dev/trunk# svn st
> 
> root@it0:/zab/www-dev/trunk# svn revert users.php
> Reverted 'users.php'
> 
> root@it0:/zab/www-dev/trunk# svn revert users.php
> Reverted 'users.php'
> 
> root@it0:/zab/www-dev/trunk# svn revert users.php
> Reverted 'users.php'
> 
> 
> In short to reproduce: a file owner and "svn revert" command issuer are
> different users.

Subversion doesn't check file ownership (as there is no platform independent 
way to do this), so there must be some different reason why you see that you 
can revert multiple times.

(I'm unable to reproduce your issue with just your script)


Which Subversion version did you try this with?

Does the file have any specific 'svn:' properties set on it?

I'm guessing that it has a 'svn:eol-style' set on it.
The only known reproducible case of this issue involves getting a non-standard 
encoded EOL in your repository, with an eol-style defined that should convert 
it to another style.


Bert



Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks

2016-02-15 Thread Philip Martin
Steffen Moser  writes:

> On 2/14/16 3:34 PM, Daniel Shahaf wrote:
>> For future reference, you can run tests over ssl by passing USE_SSL=1 to
>> davautocheck, see comments in subversion/tests/cmdline/davautocheck.sh.
>
> Thank you very much for this information. That's good to know!

Added in 1.8, it's not in 1.7.

-- 
Philip Martin
WANdisco


Re: Apache 2.4, Worker MPM, SVN 1.7.20, MOD_DAV_SVN and Post-Commit Hooks

2016-02-15 Thread Steffen Moser
On 2/14/16 3:34 PM, Daniel Shahaf wrote:
> Steffen Moser wrote on Fri, Feb 12, 2016 at 17:24:16 +0100:
>> After learning this, I had a look at the HTTPS part of my site-specific
>> Apache configuration (/etc/apache2/2.4/sites.d/...). There I found a
>> strange configuration line:
>>
>>   SSLCryptoDevice pkcs11
> 
> For future reference, you can run tests over ssl by passing USE_SSL=1 to
> davautocheck, see comments in subversion/tests/cmdline/davautocheck.sh.

Thank you very much for this information. That's good to know!

Kind regards,
Steffen