1

I have 3 files .xml .cs and . h that I want always to be modified and committed together. They are all in different directories. Users are likely to forget modify/commit all accordingly.

How can I force them to commit all three files together ?

I want them to see an error message explaining why the commit was rejected.

I can perhaps try some pre-commit hook. If someone could provide a general hook-script example, that would be very helpful.

Or are there other effective ways ?

We use Linux CentOS server + Win/Tortoise workstations.

AlG
  • 14,697
  • 4
  • 41
  • 54
Sold Out
  • 1,321
  • 14
  • 34
  • I saw this post already, but it is other use-case... http://stackoverflow.com/questions/926354/grouping-committed-files-together-as-a-single-commit-after-youve-already-comm – Sold Out Jan 27 '16 at 15:49
  • https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-changelists.html – Lazy Badger Jan 29 '16 at 00:57

0 Answers0