We have some files in our project that can't be merged and hence the files must be locked by the users before editing them. Is there a way to force the user to lock a file before editing?
We are using Subversion and TortoiseSVN / VisualSVN.
We have some files in our project that can't be merged and hence the files must be locked by the users before editing them. Is there a way to force the user to lock a file before editing?
We are using Subversion and TortoiseSVN / VisualSVN.
Two steps:
links:
More specifically, if you have TortoiseSVN installed,
© 2022 - 2024 — McMap. All rights reserved.
svn:needs-lock
property on those files. You can use a pre-commit hook to require that these files have locks. You can also install a pre-unlock hook to prevent users from stealing locks. Usually, this isn't necessary. – Kettledrummer