You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2014/07/23 21:41:58 UTC

git commit: When syncing code to vagrant, delete files that were deleted from the repository.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 27378345c -> 2d7aa386a


When syncing code to vagrant, delete files that were deleted from the repository.

Reviewed at https://reviews.apache.org/r/23859/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/2d7aa386
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/2d7aa386
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/2d7aa386

Branch: refs/heads/master
Commit: 2d7aa386af3cf26e37dd8400ce39d6c39da989af
Parents: 2737834
Author: Bill Farner <wf...@apache.org>
Authored: Wed Jul 23 12:41:41 2014 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Wed Jul 23 12:41:41 2014 -0700

----------------------------------------------------------------------
 examples/vagrant/provision-dev-cluster.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/2d7aa386/examples/vagrant/provision-dev-cluster.sh
----------------------------------------------------------------------
diff --git a/examples/vagrant/provision-dev-cluster.sh b/examples/vagrant/provision-dev-cluster.sh
index c05adcd..5b2d544 100755
--- a/examples/vagrant/provision-dev-cluster.sh
+++ b/examples/vagrant/provision-dev-cluster.sh
@@ -83,7 +83,10 @@ function start_services {
 function prepare_sources {
   cat > /usr/local/bin/update-sources <<EOF
 #!/bin/bash
-rsync -urzvh /vagrant/ /home/vagrant/aurora --filter=':- /vagrant/.gitignore' --exclude=.git
+rsync -urzvh /vagrant/ /home/vagrant/aurora \
+    --filter=':- /vagrant/.gitignore' \
+    --exclude=.git \
+    --delete
 EOF
   chmod +x /usr/local/bin/update-sources
   update-sources