Home > Subversion, Ubuntu > Creating a portable subversion repository

Creating a portable subversion repository

I generally move between different systems when developing code. An easy way to keep things in sync and transfer my code was to use a flash drive as a subversion repository and use the flash drive between the systems.
Creating a repository was dead simple. Run this command in the flash drive dir in which you want the repository..
svnadmin –pre-1.5-compatible create repo-name
Replace the repo-name with an appropriate name.
To checkout the code use the following (in Ubuntu)
svn co file:///media/usb/code/repo-name
Note: The flash drive may be mounted at a different location than the one mentioned above(/media/usb)

Advertisements
Categories: Subversion, Ubuntu Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: