Пользователь SVN удаляет файлы и отрицает, что это они

526
weston

Это произошло только дважды, и мы удалили удаление без проблем, но пользователь настаивает, что это не его вина. Самая большая проблема, которую это может вызвать, - это недоверие к самой системе SVN или, по крайней мере, к ее журналам.

Они знают, как удалять файлы, они используют SVN-черепаху и знают, что отметка отсутствующего файла в диалоге фиксации и фиксация приводит к его удалению, но они настаивают, что это не так.

Коммиты удаления всегда с изменениями в других файлах, которые явно являются их, поэтому никто не подражает им.

Как я могу доказать, так или иначе, это они или нет, не держа их за руку во время каждого коммита?

0

1 ответ на вопрос

0
bahrep

So~, a user commits file deletion together with other valid changes and then claims that the file has been removed on his filesystem by some magic and invisible force?

I see two options here: it's either user removes the file or some other application interferes and silently removes the file. svn delete can't happen by itself as well as a file can't be magically removed on filesystem.

If the situation is recurring, I'd suggest to double-check whether any antivirus or other application silently removes files from user's working copy.

AFAIU you've already checked svn log and VisualSVN Server logs. If the log entry tells that the file had been deleted from a working copy and the deletion got committed, it really happened and it's the user who committed these changes.

Some kind of client-side logging should help you to investigate this behavior. For example, you can set client-side TortoiseSVN pre-commit hook script to log which files are going to be committed on each commit attempt.

Похожие вопросы