Integration with web-based version library browsers
There are many Web-based version library browsers, suchViewvcAndWebsvn, Tortoisesvn provides methods to link these browsers.
You can integrate a repo viewer of your choice in tortoisesvn. to do this, you have to define some properties which define the linkage. they must be set on folders: ("Project Settings" Section)
-
Webviewer: Revision
-
Set this property to the URL of your repo viewer to view all changes in a specific revision. It must be properly URI encoded and it has to contain%REVISION%
.%REVISION%
Is replaced with the revision number in question. This allows tortoisesvn to display a context menu entry in the log dialog context menu → view revision in webviewer
-
Webviewer: pathrevision
-
Set this property to the URL of your repo viewer to view changes to a specific file in a specific revision. It must be properly URI encoded and it has to contain%REVISION%
And%PATH%
.%PATH%
Is replaced with the path relative to the repository root. this allows tortoisesvn to display a context menu entry in the log dialog context menu → view revision and Path in webviewer for example, If you right-click in the log dialog bottom pane on a entry file/trunk/src/file
Then%PATH%
In the URL will be replaced/trunk/src/file
.
You can also use relative URLs instead of absolute ones. this is useful in case your Web Viewer is on the same domain/server as your source repository. in case the domain name ever changes, you don't have to adjustwebviewer:revision
Andwebviewer:pathrevision
Property. The format is the same as forbugtraq:url
Property. See "integration with Bug Tracking System/problem tracking.
Set folder Properties
These properties must be set on folders for the system to work. when you commit a file or folder the properties are read from that folder. if the properties are not found there, tortoisesvn will search upwards through the folder tree to find them until it comes to an unversioned folder, or the tree root (eg.C:\
) Is found. If you can be sure that each user checks out only from e. gtrunk/
And not some sub-folder, then it's enough if you set the properties ontrunk/
. If you can't be sure, you should set the properties recursively on each sub-Folder. A Property setting deeper in the project hierarchy overrides settings on higher levels (closertrunk/
).
Fortsvn:
PropertiesOnlyYou can use the recursive checkbox to set the property to all sub-folders in the hierarchy, without also setting it on all files.