Reputation: 779
I installed fresh copy of svn from ubuntu repositiory. Version is 1.6.12.
Now, for example, lets say there are two users: User1 and User2.
Day1.
Day2.
User1 comes to work,deletes everything from main.cpp, commits and goes home.
User2 comes to work after User1 left updates and he get empty main.cpp from repository without any prompts of conflicts.
So the question if is it possible to tune svn so it prompts on conflict on update in situation as described above?
Upvotes: 0
Views: 147
Reputation: 97280
in situation as described above?
There are not conflicts, because user2 doesn't have any local changes, which can produce conflict and require manual-merge
Upvotes: 2
Reputation: 14137
Actually there is no conflict unless User2 also made a change before updating.
svn update
simply means that the working copy is updated with the latest revision from the repository. So it is expected (and intended) behavior that the empty file (which is the latest revision of the file) is fetched into the working copy.
Upvotes: 2