SVN in-place import

Directamente del FAQ de SVN. Yo me iba siempre por el camino “difícil” (copiar, importar, rm, checkout), pero una búsqueda en Google me llevó a la respuesta:

svn mkdir file:///root/svn-repository/etc \
         -m "Make a directory in the repository to correspond to /etc"
cd /etc
svn checkout file:///root/svn-repository/etc .
svn add apache samba alsa X11
svn commit -m "Initial version of my config files"

Nada del otro mundo, lo sé, pero hace la tarea un poco más fácil.

One Reply to “SVN in-place import”

Leave a Reply to vicm3 Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.