ignore config.php and preserve it in rsync V00.36
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Thu, 07 Apr 2011 13:54:30 +0200
changeset 116 9cafe2c0fb81
parent 115 04d2e318a2e4
child 117 6183d4969c10
ignore config.php and preserve it in rsync
.hgignore
sbin/sync/sync_live
--- a/.hgignore	Thu Apr 07 13:52:33 2011 +0200
+++ b/.hgignore	Thu Apr 07 13:54:30 2011 +0200
@@ -26,3 +26,6 @@
 ^script/virtualenv/distribute-0\.6\.14\.tar\.gz$
 syntax: regexp
 ^script/virtualenv/venv$
+
+syntax: regexp
+^web/config\.php$
\ No newline at end of file
--- a/sbin/sync/sync_live	Thu Apr 07 13:52:33 2011 +0200
+++ b/sbin/sync/sync_live	Thu Apr 07 13:54:30 2011 +0200
@@ -11,6 +11,7 @@
 if [ -d ~/tmp/tweet_live_V$1 ]; then
     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/tweet_live_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/amateur/live/
 + core
+P config.php
 EOT
 fi