jmgomez-IAA / loogbook

Personal web page
0 stars 0 forks source link

Post Ideas: Subversion Cheatsheet #42

Open jmgomez-IAA opened 4 years ago

jmgomez-IAA commented 4 years ago

Mostrar los tags de nuestro repositorio

$ svn ls -v ^/tags

jmgomez-IAA commented 4 years ago

Change SVN repository URL

Grepping the URL before and after might give you some peace of mind:

$]# svn info | grep URL

URL: svn://svnrepo.rz.mycompany.org/repos/trunk/DataPortal Relative URL: (...doesn't matter...)

And checking on your version (to be >1.7) to ensure, svn relocate is the right thing to use:

$]# svn --version

Lastly, adding to the above, if your repository url change also involves a change of protocol you might need to state the before and after url (also see here)

$]# svn relocate svn://svnrepo.rz.mycompany.org/repos/trunk/DataPortal
    https://svngate.mycompany.org/svn/repos/trunk/DataPortal

All in one single line of course.Thereafter, get the good feeling, that all went smoothly:

$]# svn info | grep URL:

If you feel like it, a bit more of self-assurance, the new svn repo URL is connected and working:

$]# svn status --show-updates
$]# svn diff