You can manage versions of your ReqView projects in SVN, a very popular centralized open-source version control system (VCS) adopted by many customers because of its simplicity and robustness. Because SVN supports a centralized locking mechanism, it prevents edit conflicts of document files. Therefore, it is more suitable than Git, the most popular distributed VCS.
The SVN workflow in ReqView is very easy to use. It enables team collaboration even with non-technical users who cannot use an external SVN client. With SVN workflow, you can cover the following steps:
Before using the SVN workflow from ReqView, you (or your network administrator) should install SVN on your computer, set up an SVN repository, and import your requirements project into the SVN repository. See SVN Administration.
You should save login credentials to SVN when connecting to the SVN repository the first time because ReqView does not store any passwords. If you use Tortoise SVN client, then simply open the Repo-browser and enable Save authentification option in the SVN Authentification dialog .
You can also log in to an SVN repository by
svn info command:
$ svn info --username <user_name> --password <password> <svn_repository>
You can list all saved login credentials by
svn auth command.
You can check out a ReqView project from the SVN repository to a local working copy from ReqView or using
svn checkout command.
To check out the project from ReqView, click File, select SVN and then Check Out. In the Check out Project From SVN dialog enter the URL of the trunk branch in the SVN repository, choose an empty folder for the working copy, and press OK.
To check out the project from the command line, switch to the parent folder of the working copy, and run:
$ mkdir <reqview_project>$ svn checkout <svn_repository>/trunk <reqview_project>
To open an SVN working copy in ReqView, click File and select Open Folder. When the open project is managed in SVN, you will see icon in the top right corner of the screen.
To display the SVN information about the SVN working copy and the last version stored in the SVN repository, click File select SVN and then Information:
When you open a Project Folder from a local SVN working copy, all documents are open in Read Only Mode , which is indicated by icon. To switch a document into Exclusive Edit Mode, which allows an editor to modify the document, click Document and select Start Editing Document, or press CtrlShiftE.
When you finish editing, click Document and select Finish Editing Document, or press CtrlShiftE to commit your changes and switch back to Read Only Mode. In the Commit Changes dialog, enter a commit message and press OK to commit project changes to the SVN repository:
Note: Project documents are unlocked as soon as you close the project or save the project into a different Project File or Project Folder. The shared Project Folder must be connected to close the project and release all locks.
To commit project changes anytime during editing, click File select SVN and then Commit to SVN, or click button in the top right corner of the screen. Note that ReqView commits project changes to SVN automatically after adding or removing a document, changing project traceability, or reordering documents.
To update the project by changes from other users, click Project and select Refresh Project, or press CtrlR. To refresh projects opened from a folder automatically on the application startup, enable the Edit > Preferences > Refresh project on startup and open option.
If an SVN action is canceled manually then the SVN working copy is left locked and it needs to be cleaned up. To clean up the SVN working copy, click File, mouseover SVN, select Cleanup and then refresh the project. Alternatively, you can also run
svn cleanup command from the command line.
Advanced SVN users can also take advantage of an external SVN GUI client or SVN command line tool to do the following operations:
To display the SVN log of changes, open Revision Log dialog in TortoiseSVN or use
svn log log command:
$ svn log
To create an SVN tag from your working copy, open Copy (Branch / Tag) dialog in TortoiseSVN or use
svn copy command:
$ svn copy . "^/tags/<tag_name>" -m "Create baseline"
To checkout a SVN tag to another SVN working copy <project_baseline>, open Checkout dialog in TortoiseSVN or use
svn checkout command:
$ svn checkout <svn_repository>/tags/<tag_name> <project_baseline>
To open the project baseline in a new application window, click File, select Open Folder and choose folder <project_baseline>.
To compare the latest state of the project with a SVN tag, click Project, mouseover Compare Project, select Compare Folder, and choose folder <project_baseline>, see Compare Project Baselines.
If you manage ReqView projects in another VCS than SVN (such as Git) you need to use external tools to resolve edit conflicts, for instance Meld text comparison tool:
To minimize edit conflicts, use the following collaboration guidelines:
For example, you can collaborate with reviewers as long as they change only reviewState and reviewComment attributes.