Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fine grained commits: Don't commit unrelated changes together with a fix.
Be responsible: Always check what you're committing: make sure you're only committing what you need. Do a svn diff of the files you're going to commit and check the changes.
Never break the build: Do not commit code that would break the compile. Try to build your sources and make sure that you add all the new files before you do a commit.
Document your commit: Always add a message with a meaningful explanation about the commit. If you are fixing a bug, remember to put a link to the bug in Jira.

Committing:

Always mention the JIRA issue that is related to your commit.

Always follow these steps when committing changes:

...

The '-' before foo is important. From svn help merge:

Wiki Markup
{{\-c \[\-\-change\] arg        : the change made by revision ARG (like \-r ARG-1:ARG)}}
{{If ARG is negative this is like \-r ARG:ARG-1}}