> -----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

Reply via email to