dav/config.c

changeset 198
44054c452de1
parent 194
1950f483d3c4
child 199
f448fc8c9191
--- a/dav/config.c	Sat Feb 27 19:53:43 2016 +0100
+++ b/dav/config.c	Sat Feb 27 21:04:37 2016 +0100
@@ -524,3 +524,12 @@
     
     return ret;
 }
+
+int list_repositories() {
+    UcxMapIterator i = ucx_map_iterator(repos);
+    Repository *repo;
+    UCX_MAP_FOREACH(key, repo, i) {
+        printf("%s\n", repo->name);
+    }
+    return 0;
+}

mercurial