Version control operations
For common Subversion operations, right-click the item in the Solution Explorer, select Subversion and then the respective command.
- Check out a solution
You can use a File menu option or the Repository Explorer to check out a project or solution to your local working copy.
- Update your working copy
You update the items in the working copy of your solution to bring them up-to-date with the content in the repository.
- Perform a Subversion operation from Pending Changes
The Pending Changes view is a hub for Subversion activity. For a file or folder in Pending Changes, you can perform all the Subversion operations that are available for that item in the Solution Explorer.
- Commit your changes
To make your changes permanent, commit them to the repository.
- Get and release locks
While Subversion is based on the "copy-modify-merge model" for version control, it is possible for a user to lock a file and be the only one able to commit changes to it.
- Undo changes
To undo all your local changes to an item since the last update, use the Revert option.
- Revert an item to a specific revision
To revert an item to a specific version, use the Revert to this revision option from the History Viewer.
- Find out who made what changes to a line
When you need to know what changes were made to a specific line in a file, as well as who made them, use the Annotate option.
- Branch, tag and merge changes
Subversion supports separate lines of development within a project. These lines are isolated within the repository, but you can compare, copy, and merge their content.
- Compare differences
To compare different versions of a solution item, use the Compare option.
- View revision history
Use the View History option to see the revision information for a project file or folder as it exists in the Subversion repository.
- Create and apply patches
To control contributions from various developers in a project, code is usually submitted as a patch, reviewed, and then applied to the repository.
- Add an item to a changelist
If you are working on several different problems simultaneously, AnkhSVN lets you group them into logical changelists to make tracking them easier.
- Add a Subversion property
You can specify special Subversion properties for your project files and folders. These properties contain the .svn prefix.
- Clean up the working copy
When you encounter problems due to incomplete Subversion operations or unfinished commits, use the Cleanup option to make your working copy usable.
- Integrate an issue tracker
When you set up an issue tracker for your project or solution, you can see and update issues in Pending Changes - Issues.