Committing Local Changes to a Subversion Repository
See Also
Once your working copies of version-controlled files have been
edited, you can then place your changes into the repository using the
Commit command.
- Project directories must be located within a local working
directory that is registered with the IDE in order to call Subversion commands
on them.
To commit changes in local files to a remote repository:
- In the Subversion window, confirm that you want to commit the listed files.
- Ensure that your local copies of the files are up-to-date by
clicking the Update All button prior to committing your
changes.
- Once the Update command has finished, commit the files by
clicking the Commit All button. If the files you want to commit do not already
exist in the repository, the Commit command will add them.
- Enter a message describing your changes in the Subversion Commit dialog
that appears.
- Click Commit.
The IDE executes the Commit command.
- You can also commit files or directories from the Projects window,
Files window, or Favorites window by right-clicking the files or directories
you wish to commit and choose Subversion > Commit.
Excluding Files from a Commit
The IDE enables you to specify which files in your local working
directory are recognized when using Subversion commands. Using the Exclude from Commit
command, you can set the IDE to temporarily disregard files when making commits.
To exclude local files in your working directory:
- Select the files or directories you wish to ignore in the
Subversion window.
- Right-click and choose Subversion > Exclude from Commit. Note that the
command is unavailable for files that already exist in the repository.
The IDE displays the file or directory name in strikethrough text in
the Subversion window and disregards the items whenever the Commit command is
is called. Note that the files remain excluded until you include them.
- To remove the exclude status from a file or directory, right-click the
and choose Subversion > Include in Commit.
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 permanantly using the Ignore command.
To ignore local files in your working directory:
- Select the files or directories you wish to ignore in the
Versioning window, Projects window, Files window, or Favorites window.
- Right-click and choose Subversion > Ignore. Note that the Ignore
command is unavailable for files that already exist in the repository.
The IDE ignores the file or directory whenever Subversion commands are
called on them or the directories within which they are stored.
- See Also
- Checking Out Files from a
Subversion Repository
- Comparing File Revisions in Subversion
- Resolving Merge Conflicts in Subversion
Legal Notices