rasti.hil@hilandco.com +41 79 367-9677

Friday, 23 May 2008

Sql Developer and subversion

Creating a local Subversion repository

To create a local Subversion repository, choose Versioning > Subversion > Create Repository.

In the Create Subversion Repository dialog, a location and file system type are suggested for your new repository. To provide an example to use in this guide, overtype the repository path with D:/repos. You can leave the file system type as the default Native, and you do not have to provide a connection name.

When the repository is created, a connection to it will be created automatically. You can see this in the Subversion Navigator:

Repository URL: Full, valid URL for the location of the Subversion repository. The following are URL schemas and the access methods they map to:

  • file:/// -- Direct repository access (on local disk)

  • http://-- Access via WebDAV protocol to Subversion-aware Apache server

  • https:// -- Same as http://, but with SSL encryption

  • svn:// -- Access via custom protocol to an svnserve server

  • svn+ssh:// -- Same as svn://, but through an SSH tunnel

Connection Name: Name for this connection. If you leave this box blank, the connection will be given a name based on the URL of the repository location


Subversion repository on the other computer

1)putty:

  • specify destination and port name: for example www.something.com:22
  • under Connection->SSH->Tunnels add source port number and the destination

2)SqlDeveloper:

Right click with mouse on Subversion > New Repository Connection


3) Right click with mouse on svn://localhost/repos > Check Out


Click the Yes button.


Destination folder is the local folder. For example D:\work\repos_local

Click OK


4) basic svn commands

· checkout. “download” files from repository

· update: if someone else had changed the repository, update your local files

· add, delete, copy, move: you can add, delete, copy, move files/directories

· commit: maybe this command is the most important, it “put up” your changes to server.

No comments: