Version Control Options

From RAD Studio
Jump to: navigation, search

Go Up to Tools Options Dialog Box


Tools > Options > Version Control > Subversion
Tools > Options > Version Control > Git
Tools > Options > Version Control > Mercurial

Pages in the Version Control group define the options for the version control system that you want to use. You can select the options to use either Subversion, Git or Mercurial.

Colors options

Different sets of color formatting options are used to format version control operations in the Log Pane.

You can set the color for the following state of the files under a version control system:

  • Conflicted
  • Added
  • Missing / Deleted / Replaced
  • Merged
  • Modified

Common Options

You can set several options of how the IDE behaves when using Subversion, Git or Mercurial:

  • Delete backup files after commit. Once you commit your changed files to the repository, the backup files are deleted automatically from the __history folder of your project (hidden folder).
  • Alternative Commit Layout. Uses a different layout for the Commit pane.
  • Keep Commit View open after commit. Keeps the Commit pane opened after committing changes to the repository.

Git Options

If you are using Git as the version control system for your project, you need to fill the following fields:

  • Git Executable. Insert the path to the installed Git executable in your system. You need this to enable Git in RAD Studio.
  • User identification data. Set the username and e-mail address for your Git repository. You need these values for every Git commit.

You can also clear the Remote authentication data saved in the IDE.

Subversion Options

If you are using Subversion as the version control system for your project, you can set addition options to the difference tab (Blame diff options):

  • Ignore line endings. You can select whether to ignore line endings when comparing two files or not.
  • Whitespace comparing. You can select whether to compare whitespaces when comparing two files or not:
    • Compare whitespaces
    • Ignore whitespace changes
    • Ignore all whitespaces

See Also