doc:appunti:prog:svn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:prog:svn [2010/04/07 15:48] – niccolo | doc:appunti:prog:svn [2019/10/12 15:00] – [Subversion] niccolo | ||
---|---|---|---|
Line 29: | Line 29: | ||
</ | </ | ||
+ | |||
+ | ===== Sourceforge.net ===== | ||
+ | |||
+ | Questa la sintassi specifica per prelevare tutto il codice di un progetto, ad esempio di **[[https:// | ||
+ | |||
+ | < | ||
+ | svn checkout svn:// | ||
+ | </ | ||
+ | |||
+ | Nella directory corrente viene creata la directory **code** con tutta la gerarchia. | ||
===== Logical directories ===== | ===== Logical directories ===== | ||
Line 112: | Line 122: | ||
svn copy \ | svn copy \ | ||
svn+ssh:// | svn+ssh:// | ||
- | svn+ssh:// | + | svn+ssh:// |
-m " | -m " | ||
</ | </ | ||
Line 121: | Line 131: | ||
< | < | ||
- | svn copy trunk tags/pyppp-0.2 | + | svn copy trunk tags/0.2 |
svn commit -m " | svn commit -m " | ||
</ | </ | ||
+ | La prassi comune prevede di **usare il numero di versione** come nome della directory **tag** o **branch**, questo è il modo preferibile per SourceForge. Una alternativa è usare lo schema '' | ||
====== Replica (mirror) di un repository ====== | ====== Replica (mirror) di un repository ====== | ||
doc/appunti/prog/svn.txt · Last modified: 2019/10/12 15:22 by niccolo