Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBenjamin Saller <bcsaller@objectrealms.net>2007-10-07 17:12:13 (GMT)
committer Benjamin Saller <bcsaller@objectrealms.net>2007-10-07 17:12:13 (GMT)
commitb603f340b26c57bb93f35188036e474cc87a5a3b (patch)
tree9eddba1b56c63defb6418aef4a425155db2b88b4 /bin
parentf6d8c721121bc3e4546540cd35b3d0d3703a97dc (diff)
orderby fix, allow []
-m to datastore-service will mount default repo allowing simple command line testing again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/datastore-service6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/datastore-service b/bin/datastore-service
index 8bf5fdc..758ca45 100755
--- a/bin/datastore-service
+++ b/bin/datastore-service
@@ -79,6 +79,12 @@ def main():
# really awful
import time
context = mainloop.get_context()
+
+ if '-m' in sys.argv:
+ # mount automatically for local testing
+ ds.mount(repo_dir)
+ ds.complete_indexing()
+
try:
while connected:
context.iteration(False)