Tag Archive for 'client'

Page 2 of 3

Subversion Tip of the Week

Backing up Your Subversion Data

No matter how clued up you are on Apache Subversion, disasters do happen, so it’s important to make regular backups of your repository data. There are several options for creating a backup:

1) Incremental backup – creates a copy of all the changes that occurred since the last backup. To perform an incremental backup, you must specify a “starting_revision” revision number:

svnadmin dump {repository} -r {starting_revision} -incremental.

This creates a dump file with information about the revisions that took place between the “starting_revision” and the latest revision.

2) Full Backup – this is essentially a copy of the entire repository, and it can be performed by running the following command:

svnadmin hotcopy {repository} {destination}

Alternatively, a full dump can be performed using the ‘hot backup’ script located in the tools/backup directory:

The hot-backup.py {repository} {destination}

3) Backing up with SmartSVN

If you’re using SmartSVN, the popular, cross-platform graphical client, the built-in ‘Export Backup’ functionality makes it quick and easy to create a backup of your files and directories.

1) To create a backup, select the ‘Export’ option from the ‘Query’ menu. This will open the ‘Export Backup’ dialog.

In this dialog, ‘Relative To’ is the common root of all files to be exported. Depending on the selection of files or directories, the ‘Export’ option will either display the number of files being exported or a ‘All files and directories’ message.

2) You can choose to export into either ‘zip-file’ or ‘Into directory.’ In both instances, you must specify the location where the backup will be created.

3) Optionally, you can decide to ‘Include Ignored files’ and ‘Include Ignored Directories.’ Note, the second option includes all the items in the ignored directories.

4) Once you are happy with the information you have entered, click ‘Export’ to create your backup.

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


Subversion Properties: SVN:Executable

Many operating systems’ ability to execute a file is governed by the presence of an execute permission bit. As this is typically disabled by default, Apache Subversion users may have to manually enable this permission bit every time they perform an SVN Checkout. If you’re going to be regularly using executable bits in your project, it’s a good idea to set the svn:executable property on the files in question. This internal Subversion property tells SVN which files should be executable, ensuring the correct permission bits are enabled whenever you perform a checkout. (Note, this property has no impact on filesystems that do not support executable permission bits.)

To set svn:executable in SmartSVN, the popular, cross-platform graphical client for Subversion, simply:

1) Select the file you wish to enable the execute permission bit for.
2) Open SmartSVN’s ‘Properties’ menu and select the ‘Executable-Property’ option.

3) Ensure the ‘Executable’ radio button is checked and click ‘Ok.’

4) Perform an ‘SVN Commit’ to share this properties change with the rest of your team.

Want to learn more about Subversion properties? On December 13th we will be holding a free ‘Subversion Properties’ webinar that will cover:

  • Defining properties
  • Property and “Standards and Procedures”
  • Property name rules
  • Automatic Properties
  • Recursively defining properties
  • Examining Properties
  • Removing Properties
  • Keywords

It’s free to attend, but places are limited so register now to avoid disappointment.

Subversion Tip of the Week

SmartSVN Quickstart

In Apache Subversion, the basic workcycle follows the ‘checkout-edit-update-commit’ format.

In this week’s tip, we get you off to a flying start with SmartSVN, the popular graphical client for Subversion, by covering the entire workcycle in three simple steps.

Step One: Perform a Checkout

1) Open the ‘Project’ menu and select ‘Check Out…’

2) Enter the URL of the repository you wish to checkout. Select ‘Next.’

3) Select the directory to checkout. If you want to checkout a revision other than Head, select the ‘Show Revision’ button and specify a revision number.

4) When you are happy with the information you’ve entered, select ‘Next.’

5) In the subsequent dialog, enter the local directory where you’ll store your working copy. Select the checkout depth, and click ‘Next.’

6) Choose whether to checkout a working copy or export files only. Select ‘Finish.’

7) SmartSVN will perform the checkout. You can now work on the files and folders in your newly-created working copy using SmartSVN.

Step Two: Perform an Update

Before you commit your changes back to the repository, it’s good practice to perform an ‘SVN Update.’ This is made easy with SmartSVN, simply press the ‘update’ button in the toolbar to get started.

In the subsequent dialog, specify which revision you wish to update to (default is the Head) and confirm the update.

Step Three: Perform Your Commit

Perform a commit by selecting the ‘Commit’ button from the toolbar.

Enter an appropriate log message and confirm the commit.

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

We Need Your SmartSVN Training Suggestions!

Take our SmartSVN Training Poll

If you’ve ever attended one of WANdisco’s free Subversion training webinars, downloaded one of our community refcards, or even attended Enterprise Training with us, you’ll know that WANdisco is dedicated to bringing you the latest tips, tricks, best practices and practical advice to help you get the most out of your SVN installation.

We recently added the SmartSVN graphical Subversion client to our portfolio of SVN-based products and services, and followed that up by releasing a major new version: SmartSVN 7.5. Now, the next step is to create a dedicated SmartSVN training program that covers everything from the basics for absolute beginners, to advanced techniques for mastering this popular SVN client.

To ensure we deliver the training content you need, we’ve put together a quick poll on the topics you’d like us to cover in the different modules. We’ve designed the poll so you can select as many, or as few options, as you’d like – and none of the modules are mandatory, so if you aren’t interested in a module, simply skip over it.

Take our poll, and let us know how your ideal SmartSVN training course would look!

If there’s a subject you’d be interested in that isn’t covered in the poll, please feel free to leave us a comment on this post, or Contact Us directly with your suggestions.

WANdisco Announces Release of SmartSVN 7.5

We’re pleased to announce the release of SmartSVN 7.5, our popular, cross-platform graphical Subversion client.

This release delivers additional enhancements and new functionality to SmartSVN users, including:

Streamlined and Simplified, A Better UX

  • New GUI library (SWT) to provide native look and improved responsiveness
  • A clean and compact branching structure view with an Enhanced Revision Graph
  • See file statuses at a glance – files changed in the repository are shown in blue, struck out if removed from the repository, red in case there are local changes
  • Don’t miss a change with Project Transactions: project externals are suggested to be watched for changes
  • No longer forced to create a repository profile (profiles can still be used if preferred)

Little Things, Made Easier

  • Edit properties directly in the Repository Browser
  • Known passwords are re-used for repositories on the same server
  • Export smaller HTML graphic files with the Export option of Revision Graph
  • Remove, Move, and Copy now operate on multiple selected directories
  • Default, unchanged files are not shown. (To find files, use the File Filter)

More Secure

  • The freedom to work offline. When off, the remote state and transactions are not refreshed automatically – Log and Revision Graph operate from data already stored in the log cache
  • Support for safe password storage with the Plugin-API

More detailed information on SmartSVN 7.5 changes is available at the Changelog.

If you aren’t using SmartSVN yet, get started with a free 30 day trial of Professional Edition now. If you’re an existing SmartSVN user, download the latest release, or renew your maintenance and support contract now.

Have suggestions and feedback? We’re already planning the next release, so share your thoughts with us now. Read our ‘We want your SmartSVN Suggestions’ blog for more information.

Adding and Removing Files in SmartSVN for Windows

When working with SmartSVN, sooner or later you’ll need to add and remove files from your project. In this article, we show you how to add a file to SmartSVN and place it under version control, before demonstrating how to remove a file from the repository. Finally, we cover adding a file to SmartSVN’s ignore list, which is useful when you need to include a file in your project without placing it under version control.

Adding a File in SmartSVN

1) Outside of SmartSVN, select the file you wish to add and drop it into the working copy on your local machine.







2) Open your working copy with SmartSVN. The new file will appear as an unversioned item. Select the file, followed by the ‘Add’ button. Alternatively, you can right-click the unversioned file and select ‘Add.’







3) Commit your change back to the repository to make it permanent.







4) Don’t forget to add an appropriate log message!








Removing Files in SmartSVN

If you can add files, at some point you will need to remove them.

1) Select the file you wish to remove and click SmartSVN’s ‘Remove’ button. Alternatively, right-click the file you wish to remove and select the ‘Remove’ option.







2) In the subsequent dialog, select whether you wish to remove the file from version control, which will schedule the item for removal, or remove the control and also delete it locally.

In this example, we’ll choose to delete the file locally. Select ‘Remove.’







3) Commit your changes back to the repository to make them permanent.

Note, if you have opted to delete the file locally, it will disappear from both your working copy and the repository at this point.

Adding a File to SmartSVN’s Ignore List

If you have added a file to your working copy but don’t want to place it under version control, it may be worth adding to SmartSVN’s ignore list. This will prevent you from receiving a notification about the unversioned file every time you perform a commit.

To add a file to SmartSVN’s ignore list:

1) Select the file you wish to ignore.
Open the ‘Modify’ menu and click ‘Ignore…’
Choose either ‘Explore Explicitly,’ which will add the selected file/directory to the ignore list, or ‘Ignore As Pattern’ which instructs SmartSVN to ignore all files with a certain naming convention.
Select ‘Ok’ to add the file(s) to SmartSVN’s ignore list.

Tip. If you cannot access the ‘Ignore’ option, check you are not attempting to ignore a previously committed file. You can only ignore unversioned files.

Remember that a free download of SmartSVN Foundation is available. Simply visit http://smartsvn.com/ to get started. 


SmartSVN 7.0.7 is Here!

We’re pleased to announce that SmartSVN 7.0.7 has been released. This update brings some useful enhancements and fixes to the SmartSVN community, including fixes for:

  • Auto-detection of “large” repositories
  • An internal error that occurs when refreshing locks
  • Internal errors for remote state and refresh

More information on what’s new and noteworthy in SmartSVN 7.0.7 is available at the Changelog.

A free download of SmartSVN Foundation is available from WANdisco now. If you haven’t already tried SmartSVN, there’s a long list of benefits this popular graphical client can offer the Subversion user:

  • Easy to keep up-to-date on the latest Subversion activities of other team members and projects.
  • An all-in-one solution – SmartSVN provides everything out of the box: Subversion client, file compare, conflict solver and SSH client.
  • The freedom to work with either the SmartSVN UI, or to perform tasks directly within Windows Explorer.
  • Cross-platform – work on the operating system of your choice.

Visit http://smartsvn.com/ to download SmartSVN 7.0.7 today.

Still unsure how WANdisco acquiring SmartSVN will affect your SmartSVN experience? We’ve published a handy FAQ to answer some of the questions we’ve been hearing from the community.

How to Perform a Detailed Checkout With SmartSVN

In our previous post, we covered performing a simple checkout with SmartSVN, using the ‘Quick Checkout’ option. In this installment, we introduce you to ‘Detailed Checkout,’ which allows you to specify which folders should be included in the working copy.

Not yet tried SmartSVN? You can download it for free!

1) Open your SmartSVN installation and select ‘Check Out…’ from the ‘Project’ menu.











2) Ensure the ‘Detailed Checkout’ option is selected, and enter the repository URL. Select ‘Next.’








3) Choose which folder you wish to checkout.








Tip. SmartSVN will automatically display the HEAD revision. However, you can use the ‘Show Revision…’ button to select revisions other than the HEAD.





4) Enter the location where you wish to create your working copy and click ‘Next.’








5) Specify whether to checkout a working copy, or export files. Click ‘Next.’








6) Review the summary and, if you are happy with the output click ‘Finish.’








7) You have successfully completed your checkout, and are ready to begin working on your project!







Get started with SmartSVN today! Visit the WANdisco website to download SmartSVN Foundation. Remember that you can evaluate SmartSVN Professional by choosing the evaluate option during the install process.


TortoiseSVN 1.7.9 Available to Download

TortoiseSVN 1.7.9 is now available to download.

This release of the popular Windows client for Apache Subversion fixes a bug introduced in the 1.7.8 release, that could cause other applications to crash. This release also fixes some additional bugs, including crashes when refreshing the status list control, and copied files failing to revert to the recycle bin. TortoiseSVN 1.7.9 is linked against Subversion 1.7.6.

TortoiseSVN users are recommended to upgrade to this release as soon as possible.

Looking for tips and tricks on getting the most out of TortoiseSVN? We publish a new Subversion Tip of the Week every Monday, which includes frequent TortoiseSVN tips.


Poll: What’s your Favourite Feature of Subversion 1.7x?

After finding out more about the way you’re using Apache Subversion in our recent community polls (‘Which OS does your Subversion Server Run On?’ and ‘Which Subversion Client Do You Use?’) we need your input again – this time, on the Subversion 1.7 series.

Apache Subversion 1.7 was a major step forward for the world’s most popular open source version control system, and the subsequent releases have brought even more enhancements and fixes to the series. But what’s your favourite new feature of the 1.7 releases? Let us know, by answering our quick, one-question poll!

Take the poll now.

We’ll publish the results in a few weeks, so be sure to keep checking back to see how your Subversion usage compares to the rest of the community.

Haven’t made the switch to Subversion 1.7 yet? The latest binaries in the 1.7 series can be downloaded from the WANdisco website: http://www.wandisco.com/subversion/download