This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
svn:start [2013/07/22 11:29] jakub.moron |
svn:start [2022/12/21 17:08] (current) marek.idzik |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[http://subversion.apache.org/ | SVN Project website ]] | * [[http://subversion.apache.org/ | SVN Project website ]] | ||
* SVN Book [[http://svnbook.opensys.pl/ | PL ]] [[ http://svnbook.red-bean.com/ | ENG ]] | * SVN Book [[http://svnbook.opensys.pl/ | PL ]] [[ http://svnbook.red-bean.com/ | ENG ]] | ||
- | * [[ http://svn.lumifun.ftj.agh.edu.pl/ ]] (doesn't work yet) | + | * [[ http://svn.asic.fis.agh.edu.pl/ ]] |
- | ===== SVNShell ===== | + | ===== SVNShell & SmartSVN ===== |
- | {{:svn:svnshell.tar| Script_svnshell}} | + | {{:svn:svnshell.tar| SVNShell_script}} **DO NOT USE -- OLD**\\ |
- | Download, untar and add to ''$PATH''. | + | {{:svn:smartsvn.tar| SmartSVN_script}} **DO NOT USE -- OLD**\\ |
+ | Download, untar (''tar -xf name.tar'') and add to ''$PATH''. | ||
===== Administrators ===== | ===== Administrators ===== | ||
Line 36: | Line 37: | ||
==== Getting repository ==== | ==== Getting repository ==== | ||
To get local copy of repository : | To get local copy of repository : | ||
- | <code> svn checkout svn+ssh://svn@lumifun.ftj.agh.edu.pl/REPOSITORY_NAME </code> | + | <code> svn checkout svn+ssh://svn@asic.fis.agh.edu.pl/REPOSITORY_NAME </code> |
- | or optionaly | + | or optionally |
- | <code> svn checkout svn+ssh://svn@lumifun.ftj.agh.edu.pl/REPOSITORY_NAME/trunk REPOSITORY_NAME </code> | + | <code> svn checkout svn+ssh://svn@asic.fis.agh.edu.pl/REPOSITORY_NAME/trunk REPOSITORY_NAME </code> |
==== Update ==== | ==== Update ==== | ||
Line 96: | Line 97: | ||
Editor to be invoked is specified by environmental variable SVN_EDITOR. To change | Editor to be invoked is specified by environmental variable SVN_EDITOR. To change | ||
default editor you should set this variable in yours ''~/.bashrc'' file, e.g: | default editor you should set this variable in yours ''~/.bashrc'' file, e.g: | ||
- | <code> export SVN_EDITOR=vim </code> | + | <code> export SVN_EDITOR=gvim </code> |
===== typical use case ===== | ===== typical use case ===== | ||
Line 132: | Line 133: | ||
Last Changed Date: ... | Last Changed Date: ... | ||
- | $svn switch --relocate http://svn.lumifun.ftj.agh.edu.pl/YOUR_REPO svn+ssh://svn@lumifun.ftj.agh.edu.pl/YOUR_REPO . | + | $svn switch --relocate http://svn.lumifun.ftj.agh.edu.pl/YOUR_REPO svn+ssh://svn@asic.fis.agh.edu.pl/YOUR_REPO . |
</code> | </code> | ||
Line 152: | Line 153: | ||
Data ostatniej zmiany: 2012-05-18 15:57:54 +0200 (pią) | Data ostatniej zmiany: 2012-05-18 15:57:54 +0200 (pią) | ||
- | $svn sw --relocate http://svn.lumifun.ftj.agh.edu.pl/EUDET_VI_IBM/trunk svn+ssh://svn@lumifun.ftj.agh.edu.pl/EUDET_VI_IBM/trunk . | + | $svn sw --relocate http://svn.lumifun.ftj.agh.edu.pl/EUDET_VI_IBM/trunk svn+ssh://svn@asic.fis.agh.edu.pl/EUDET_VI_IBM/trunk . |
$ svn info | $ svn info | ||
Ścieżka: . | Ścieżka: . | ||
- | URL: svn+ssh://svn/EUDET_VI_IBM/trunk | + | URL: svn+ssh://svn@asic.fis.agh.edu.pl/EUDET_VI_IBM/trunk |
- | Katalog główny repozytorium: svn+ssh://svn/EUDET_VI_IBM | + | Katalog główny repozytorium: svn+ssh://svn@asic.fis.agh.edu.pl/EUDET_VI_IBM |
UUID repozytorium: 134063e6-8b79-43c4-80ea-df54b304f938 | UUID repozytorium: 134063e6-8b79-43c4-80ea-df54b304f938 | ||
Wersja: 789 | Wersja: 789 | ||
Line 166: | Line 167: | ||
Data ostatniej zmiany: 2012-05-18 15:57:54 +0200 (pią) | Data ostatniej zmiany: 2012-05-18 15:57:54 +0200 (pią) | ||
+ | </code> | ||
+ | |||
+ | ===== Relocate to asic ===== | ||
+ | |||
+ | To relocate **YOUR_REPO** from lumifun to asic please follow the instructions given below: | ||
+ | - Go to **YOUR_REPO** directory <code>$ cd path_to_YOUR_REPO </code> | ||
+ | - Check current URL **(third line below between > and <)**<code>$ svn info | ||
+ | Path: . | ||
+ | URL: >>> svn+ssh://[email protected]/YOUR_REPO <<< | ||
+ | Repository Root: svn+ssh://[email protected]/YOUR_REPO | ||
+ | Repository UUID: a855ac54-1f2a-4fde-b2df-7ae56cbf9e90 | ||
+ | Revision: 107 | ||
+ | Node Kind: directory | ||
+ | Schedule: normal | ||
+ | Last Changed Author: someone | ||
+ | Last Changed Rev: 1 | ||
+ | Last Changed Date: 2014-02-08 17:47:30 +0100 (Sat, 08 Feb 2014) | ||
+ | </code> | ||
+ | - Run svnshell | ||
+ | - Copy current URL (between > and < above) and perform command:<code> | ||
+ | $ svn sw --relocate CURRENT_URL_FROM_SVN_INFO svn+ssh://[email protected]/YOUR_REPO | ||
</code> | </code> | ||
Line 185: | Line 207: | ||
- Open TortoiseSVN -> Settings | - Open TortoiseSVN -> Settings | ||
* Select the **Network configuration** and point the SSH client to **TortoisePlink.exe** (location where you installed Tortoise) | * Select the **Network configuration** and point the SSH client to **TortoisePlink.exe** (location where you installed Tortoise) | ||
- | - Use svn, ass a path to repository use <code>svn+ssh://svn@lumifun/REPO_NAME</code> | + | - Use svn, ass a path to repository use <code>svn+ssh://svn@asic.fis.agh.edu.pl/REPO_NAME</code> |
- To avoid entering passphrase each time you need: | - To avoid entering passphrase each time you need: | ||
* run **pageant.exe** (putty instalation directory) | * run **pageant.exe** (putty instalation directory) | ||
* click on your private key to unlock it | * click on your private key to unlock it | ||
* You need to do it after each reboot | * You need to do it after each reboot |