Committing Local Changes to a Remote Repository (Subversion)
See Also
Once your working copies of version-controlled files have been edited,
you can then place changes into the repository using the Subversion
Commit action.
- Subversion versioned files and folders must be recognized by the IDE
as such in order to call Subversion actions on them. To do so, you
must first checkout sources from a
Subversion repository.
To commit changes in local files to a remote repository:
- Select a version-controlled file or folder (e.g. from the Projects,
Files, or Favorites window) and choose Subversion > Commit from
the right-click menu. The Commit Dialog opens, listing all files that
contain local changes. If the files you want to commit do not already
exist in the repository, the commit action will add them.
- Enter a commit message in the Commit Message text area, indicating the
purpose of the commit.
- Click the Recent Messages icon (
) in the upper right corner of the
dialog to view recent commit messages.
- Click Commit. The IDE executes the commit and sends your local changes to
the repository.
- It is recommended that you perform an update (Subversion > Update) on
any files prior to committing them to the repository. By doing so, you will
be able to identify and handle any conflicts arising from repository changes
prior to performing your commit.
- When working in the Commit dialog, you can exclude individual files from a
commit. To do so, click on the Commit Action column for the specific file
and choose Exclude from Commit. The file name responds by displaying in
strike-through text.
Ignoring Files
If your local working directory includes files or directories that you do not
want to place under version control, you can set the IDE to ignore them
permanently using the Ignore command.
- You cannot employ the Ignore command on files that already exist in the
repository.
To ignore local files in your working directory:
- Select the file or directory you wish to ignore from the
Projects, Files, Favorites, or
Versioning window.
- Choose Ignore (or Subversion > Ignore) from the right-click
menu of selected file or directory. The IDE ignores the file
or directory whenever Subversion commands are called on it or
on the directory within which it is stored.
- To change the status of ignored files so that they can be acted upon in
Subversion, select the specific file and choose Subversion > Unignore.
- See Also
- Checking Out Files from a Subversion Repository
- Comparing File Revisions in Subversion
- Resolving Merge Conflicts in Subversion
Legal Notices