I want to refer to a revision just before head or n-revisions before HEAD or something like that.
The HEAD revision refers to the most current revision in a repository. If you are browsing the HEAD revision of your repository and one of your teammates commits a change, those new changes will be included when you decide to check out a working copy of that revision or fetch specific information about it.
Creating a Branch or Tag Select the folder in your working copy which you want to copy to a branch or tag, then select the command TortoiseSVN → Branch/Tag....
Right click on the 'Trunk' folder (we're tagging the latest revision of the files in the Trunk – not the branch). Then select 'Branch/Tag…' in the Tortoise SVN submenu.
The Subversion manual states: '!' Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).
There's are a few built in revision key words in Subversion which may solve most of your problems:
BASE
: This is the revision used in your current working directory.HEAD
: This is the current tip of the branch.COMMITTED
: This is the last committed revision of a file before BASE
.PREV
: This is the last changed revision from BASE
. It's pretty much COMMITTED-1.For everything else, you'll need to do a calculation as synthesizeerpatel showed you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With