summaryrefslogtreecommitdiffstats
path: root/gitc_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitc_utils.py')
-rw-r--r--gitc_utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gitc_utils.py b/gitc_utils.py
index 4d8d5366..d082c8d7 100644
--- a/gitc_utils.py
+++ b/gitc_utils.py
@@ -20,13 +20,15 @@ import time
20 20
21import git_command 21import git_command
22import git_config 22import git_config
23import wrapper
23 24
24 25
25# TODO (sbasi) - Remove this constant and fetch manifest dir from /gitc/.config
26GITC_MANIFEST_DIR = '/usr/local/google/gitc/'
27GITC_FS_ROOT_DIR = '/gitc/manifest-rw/' 26GITC_FS_ROOT_DIR = '/gitc/manifest-rw/'
28NUM_BATCH_RETRIEVE_REVISIONID = 300 27NUM_BATCH_RETRIEVE_REVISIONID = 300
29 28
29def get_gitc_manifest_dir():
30 return wrapper.Wrapper().get_gitc_manifest_dir()
31
30def parse_clientdir(gitc_fs_path): 32def parse_clientdir(gitc_fs_path):
31 """Parse a path in the GITC FS and return its client name. 33 """Parse a path in the GITC FS and return its client name.
32 34