Difference between revisions of "SVN client"

 
Line 72: Line 72:
  
  
You can create a new icon on your Linux icon desktop: <code>vim ~/Desktop/meld.desktop</code>
+
You can create a new icon on your Linux icon desktop:  
 
 
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
[Desktop Entry]
+
cp /usr/share/applications/meld.desktop ~/Desktop/
Version=1.8.4
+
chmod 755 ~/Desktop/meld.desktop
Name=Meld
 
Comment=SVN merge tool
 
Exec=/usr/bin/meld
 
Icon=usr/share/meld/icons/meld-vc-icon.png
 
Terminal=false
 
Type=Application
 
Categories=Utility;Application
 
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 11:38, 2 April 2015


Note: the SVN client version must match the server version for better performances and to avoid errors.


Windows

Tortoise SVN is the best client available, see http://tortoisesvn.tigris.org/

!! During installation, don't forget to install the svn command line tools !!


Linux

Command line client

apt-get install subversion subversion-tools


Then you can use the svn command:

  • svn co --username=yourUserName --password=yourpassword http://path-to-your-svn
  • svn add file
  • svn commit -m "my revision comment"


Thunar integration

RabbitVCS => Like tortoise SVN


# Add new repo and install application
add-apt-repository ppa:rabbitvcs/ppa
apt-get update
apt-get install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3 rabbitvcs-thunar

# Create configuration folder
mkdir -p ~/.config/rabbitvcs
chown -R guillaume:guillaume ~/.config/rabbitvcs
chmod -R 777 ~/.config/rabbitvcs


Official wiki page: http://wiki.rabbitvcs.org/wiki/install/ubuntu


[!] You need to reboot before you can use that application


SVN merge tool

Meld is a good SVN merge tool.

Checkout their website: http://meldmerge.org/


  • Windows: download and install the binaries from the official website
  • Linux:
apt-get install meld


You can create a new icon on your Linux icon desktop:

cp /usr/share/applications/meld.desktop ~/Desktop/
chmod 755 ~/Desktop/meld.desktop