I suggest you ...

Add Option for Mandatory Comments on Commit

Add the Option for Mandatory Comments on Commit.

Forcing a comment to be made before commit is allowed.

Default setting for All New projects and Individual settings for existing projects.

85 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Peter TaylorPeter Taylor shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    planned

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • pokerdiypokerdiy commented  ·   ·  Flag as inappropriate

        I added login message size to my SVN as a property thinking this would help but Ankh seems to override it? I'm new to SVN and ankh - but this would be a great enhancement.

      • John GietzenJohn Gietzen commented  ·   ·  Flag as inappropriate

        We use a pre-commit-hook on the repo itself. This prevents them circumventing it with tortoise.

        @echo off
        SET SVNLOOK=svnlook.exe
        SET GREP=grep.exe

        REM Prevent changes to tags.
        ("%svnlook%" changed -t %2 %1 | "%grep%" "^U.*/tags/") && (echo Cannot commit an update to a tag.>&2 && exit 1)

        REM Prevent commits without comments.
        ("%svnlook%" log -t %2 %1 | "%grep%" "[a-zA-Z0-9]") || (echo You must specify a comment for all actions.>&2 && exit 1)

        exit 0

      Knowledge Base and Helpdesk