[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

files always reported as reverted for different owner

From: Oleksiy Zagorskyi <zalex_ua_at_i.ua>
Date: Sun, 14 Feb 2016 14:31:10 +0200

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_at_it0:/zab/www-dev/trunk# whoami
root

root_at_it0:/zab/www-dev/trunk# ls -l users.php
-rw-r--r-- 1 zalex zalex 13689 Jan 18 16:00 users.php

root_at_it0:/zab/www-dev/trunk# svn st

root_at_it0:/zab/www-dev/trunk# svn revert users.php
Reverted 'users.php'

root_at_it0:/zab/www-dev/trunk# svn revert users.php
Reverted 'users.php'

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

Tried to find something related at
https://issues.apache.org/jira/issues/?jql=project%20%3D%20SVN%20AND%20text%20~%20"revert"
or google it - nothing found.

--
Oleksiy
Received on 2016-02-14 20:47:24 CET

This is an archived mail posted to the Subversion Users mailing list.