Integration with web-based version library browsers

Source: Internet
Author: User
Tags bug tracking system tortoisesvn
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/fileThen%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:revisionAndwebviewer:pathrevisionProperty. The format is the same as forbugtraq:urlProperty. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.