Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-25 02:34:09 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-25 02:34:09 (GMT)
commit0d0a7194226215703c5536fdae4993a4d4a81816 (patch)
tree10de369d72784edccaab9a34f7eb28911288c9ee /commands
parentd450954d31df8d22c96ccd76d6af1d983266a2d4 (diff)
Refactor to put get_commit_id in the git module
Diffstat (limited to 'commands')
-rw-r--r--commands/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/common.py b/commands/common.py
index 37a8abf..7324e31 100644
--- a/commands/common.py
+++ b/commands/common.py
@@ -7,8 +7,11 @@ sys.path.append(base_dir)
from devbot import config
from devbot import command
+from devbot import git
def setup():
+ git.set_root_path(base_dir)
+
args = {"config_dir": os.path.join(base_dir, "config"),
"install_dir": os.path.join(base_dir, "install"),
"source_dir": os.path.join(base_dir, "source"),