aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@segan.org>2012-08-16 15:09:23 +0200
committerDanilo Šegan <danilo@segan.org>2012-08-16 15:09:23 +0200
commitfef88815c223402e3996434182762c3134c8b881 (patch)
treecceac582cdb6acda1b1fc4567baffabcb4b10dc4 /scripts
parent3cc7d7cb9cd4cd8f66a5edcb71fec532c85e148d (diff)
Refresh branches as well as updating their working trees.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-deployment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-deployment.py b/scripts/update-deployment.py
index 2cd496d..fbb3559 100755
--- a/scripts/update-deployment.py
+++ b/scripts/update-deployment.py
@@ -91,8 +91,8 @@ def update_installation(config, installation_root):
Afterwards, it runs "syncdb" and "collectstatic" steps.
"""
- update_tree(os.path.join(installation_root, branch_name))
- update_tree(os.path.join(installation_root, "configs"))
+ refresh_branch(os.path.join(installation_root, branch_name))
+ refresh_branch(os.path.join(installation_root, "configs"))
os.environ["PYTHONPATH"] = (
":".join(
[installation_root,