Svn

De Admin -- TALEVAS.
Version du 16 novembre 2012 à 14:50 par Admin (discuter | contributions)
(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)

Sommaire

svn // SVN

mkdir path, svnadmin create path, chown www-data:www-data path
svn status path

revert de version tout un dossier

Most of the time when I’m working with code that is checked out from Subversion it’s moving forward, version after version. There are times though where I need to revert back to a previous version (one reason you should have your code versioned in the first place). Subversion can do this, but it isn’t via the revert command, instead it’s done with merge.

Most of the time this means I can revert my working copy to rev 12345 with this command:

svn merge -r HEAD:12345 .

recherche dans les logs

svn log --with-all-revprops --revision  {2012-10-08}:{2012-11-30} --xml

set executable X

svn propset svn:executable on FILENAME


des infos en automatique dans les fichiers

svn  propset svn:keywords "Id HeadURL"

avec

$Id$ $HeadURL$

dans le fichier

cfengine for admins

avant de ci dans le cfegine ...

/usr/sbin/cfagent -p -q -v -f ./cf.pfs


il ne doit rien avoir entre

Looking for an input file ./cf.pfs
et
Finished with ./cf.pfs