Tag Archive for 'free trial'

Intro to SmartSVN’s Revision Graph

SmartSVN’s built-in Revision Graph tool provides a quick and easy way to get an overview of the hierarchical history of your files and directories. This history is primarily represented as ‘nodes’ and ‘branches.’ (Note, because the Revision Graph displays branches and tags, the Tag-Branch-Layout must be configured correctly.)

The Revision Graph is useful for seeing at a glance:

  • Merged revisions
  • Revisions that have yet to be merged
  • Whether a merge occurred in the selected revision
  • Which changes happened in which branch
  • Which revision represents which tag
  • When a file was moved, renamed or copied, along with its history

To access the Revision Graph, open SmartSVN’s ‘Query’ menu and select ‘Revision Graph.’

revision graph 2

This will open the main Revision Graph screen.

revision-graph

The main section of the Revision Graph is the ‘Revisions’ pane. This displays the parent-child relationships between your revisions. Revisions are arranged by date, with the newest at the top.

In the Revision Graph, there are four main types of relationships that are represented by different line styles:

  • Normal parent-child relationship – represented by thick, coloured lines.
  • Complete merge relationship – created by performing a merge commit where all the source revisions are merged into the target. When ‘Merge Arrows’ is enabled, it is represented by thin, coloured lines.
  • Partial merge relationship – created by performing a partial merge (cherry-pick) where not all source revisions are merged into the target. When ‘Merge Arrows’ is enabled it’s represented by thin, coloured, dashed lines.
  • URL relationship – this is where branches have the same URL, but are not related (e.g when you have removed and re-added a branch.) When ‘Join Same Locations’ is enabled, this is represented by thin, gray lines.

In addition to the main ‘Revisions’ pane, the SmartSVN Revision Graph includes several additional views:

1) Revision Info – displays attributes of the selected revision (revision number, date, state, author who created the revision etc.)

revision info

2) Directories and files – displays the files that were modified as part of the selected revision.

revision graph 3

From this screen, you can access several additional options:

  • Export – export the Revision Graph as an HTML file by selecting ‘Export as HTML…’ from the ‘Graph’ menu. In the recently-released SmartSVN 7.5, this export function was improved to support exporting smaller HTML graphic files.
  • Merge Arrows – select the ‘Show Merge Arrows’ option from the ‘Query’ menu to display the merge arrows. These point from the merge source to the merge target revisions. If the merge source is a range of revisions, the corresponding revisions will be surrounded by a bracket.
  • Merge Sources – select the ‘Show Merge Sources’ option from the ‘Query’ menu to see which revisions have been merged into the currently selected target revision.

Haven’t yet started with SmartSVN? You can claim your free SmartSVN Professional trial by visiting www.smartsvn.com/download

5 Ways to Customize SmartSVN

One of the features that makes the SmartSVN graphical client for Apache Subversion particularly user-friendly, is how easy it is to tailor to your particular needs. Users have plenty of options available for fine-tuning their SmartSVN installation – in this post, we’ll cover just a few of them.

1) Grouping Revisions

The ‘Transactions’ menu offers several options for grouping your revisions, helping you to get a wealth of information about different revisions at-a-glance.

customize

The different categories are:

  • Ungrouped
  • Weeks
  • Days
  • Date
  • Authors
  • Location (repository)

Changing your revision grouping affects the ‘Transactions’ view (by default, this is located in the bottom right-hand corner of the screen.)

2) Show Branches and Tags

This option can also be found in the ‘Transactions’ menu. When selected, ‘Show Branches and Tags’ displays not just the working copy revisions, but also revisions of the trunk, branches and tags.

3) Accelerators

SmartSVN allows you to set custom ‘accelerators’ for common tasks (e.g copy name, show more, change commit message etc.) To customize these accelerators, open the ‘Edit’ menu and select the ‘Customize…’ option. Open the ‘Accelerators’ tab.

accelerator

To create a new accelerator or change an existing one, select a menu item and click the ‘Accelerator’ field at the bottom of the screen.

accelerator 2

Press the key combination you wish to add and click ‘Assign’ to confirm. If you ever need to restore the default accelerators, select the appropriate menu Item and click ‘Reset.’

4) Customize the Toolbar

You can customize SmartSVN’s toolbar to display the icons you use the most. To get started, open the ‘Edit’ menu and select ‘Customize,’ and open the ‘Toolbar’ tab.

toolbar

Use the ‘Add’ button to add one or more available buttons, and ‘Remove’ to remove buttons from the toolbar. Drag-and-drop the ‘Selected’ icons to rearrange the order in which they appear in the toolbar.

Right-clicking on any icon in the ‘Selected’ pane will bring up a context menu with some additional options:

smartsvn customize

  • Add Fixed Separator – add a separator before the currently selected icon.
  • Add Stretching Separator – add a stretching space before the currently selected button.

(Note, the remaining space is divided and assigned to the stretching separators.)

5) Context Menu

The third option available when you open the ‘Customize…’ dialog is ‘Context Menu.’ In this dialog, open the ‘Context Menu’ dropdown and select which menu you wish to change.

context menu

Once you have chosen your context menu, the available menu items are displayed in the left-hand pane, and the current context menu structure in the right-hand pane.

context menu 2

Use the ‘Add and ‘Remove’ buttons to customize the selected context menu or, alternatively use drag-and-drop. Right-clicking on an item in the right-hand pane will bring up some additional options.

context menu 3

The ‘Add Separator’ and ‘Add Menu’ options can be used to add the corresponding item before the selected item on the right-hand side. You can also click ‘Reset to Defaults’ to undo any changes you’ve made to the context menu.

Remember, you can claim your 30 day free trial of SmartSVN Professional now.

 

 

 

Examining Your Subversion Repository

In Apache Subversion, it’s easy to create a working copy and then examine the files and folders on your local machine. However, sometimes you may want to extract data about the contents of your repository without having to check out a working copy first. Subversion has two commands to help you with this, ‘svn list’ and ‘svn cat.’

SVN List

To get an overview of the files/folders contained within your repository, use the ‘svn list’ command, followed by the repository URL.

svn list repository-URL

Tip. If you’ve followed best practices and have trunk/branch/tag folders, remember to specify which folder you want an overview for, or else this command will just list the three folders.

If you want more details about the contents of your repository (including the last revision each file changed, who made the change, and the date and time of the last revision) simply add the -v switch.

svn list -v repository-URL

SVN Cat

You can also examine the output of a file in the repository using the ‘svn cat’ command, followed by the revision number you wish to examine and the file’s URL.

svn cat -r repository-URL

If you want to examine the most recent version of a file, you can simply specify the revision as ‘HEAD’ e.g

svn cat -HEAD repository-URL

Looking for a cross-platform graphical client for your Subversion project? A free 30 day trial of SmartSVN Professional is available now. Find out more about SmartSVN at www.smartsvn.com

Version Control In The Enterprise

Apache Subversion is gaining increasing popularity within the enterprise and, when you consider all the potential benefits, it’s easy to see why. Client requirements change, and new features can sometimes cause more problems than they fix. In these situations, Subversion effectively provides you with an undo button, allowing you to write some code, realise it doesn’t work, revert to a previous revision, write some more code that does work – and finally receive new client requirements and restore the original version of your project, ready to start again from scratch. Without Subversion, the above situation would have to be managed manually, but SVN provides all the functionality you need to make such situations as straightforward as possible.

Still on the fence about whether Subversion has a place in the enterprise? Here are our top three reasons, for keeping your enterprise projects under SVN’s version control:

  • Easy Collaboration – Subversion makes collaboration easier by allowing multiple developers to access the same code in a central repository, regardless of geographical location. This is invaluable in distributed, global organisations.
  • Keep Up to Date With Changes – Subversion keeps development teams synchronized with the latest changes in the central repository. Developers can pull all the latest changes into their working copy with a simple ‘svn update’ command.
  • Revert to Previous Revisions – Subversion’s version tracking functionality allows you to recover previous versions of your project without the hassle of manually unpicking your changes. This is useful if you have implemented changes that haven’t worked out, or turned out to be unnecessary. In some situations, it may even be quicker to revert to an earlier revision and then re-implement only the changes that worked, rather than trying to isolate and remove specific changes. Having an easy way to restore previous revisions when development teams hit difficulties, can also have a big impact on maintenance costs.
  • Improved Productivity – Ultimately, Subversion improves developer productivity. It allows multiple developers to work on the same project, at the same time, and imposes conventions that mean complications caused by accidental overwrites, lack of communication and manual merging, are less likely. Whenever defects are introduced, version control gives you the option of rolling back to a time before these defects found their way into your project.

Interested in seeing how Subversion could benefit your enterprise projects? 15 day free trials of both our Subversion MultiSite and Subversion Access Control products are available now.