Skip to content

Commit

Permalink
[ignore] Restore: rebuild package repo failed due to wrong query.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Nov 20, 2014
1 parent 5c5aadc commit 0ca482f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/org/exist/backup/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ private static void restoreWithoutGui(final String username, final String passwo
"as admin:\n\n" +
"import module namespace repair=\"http://exist-db.org/xquery/repo/repair\"\n" +
"at \"resource:org/exist/xquery/modules/expathrepo/repair.xql\";\n" +
"repair:rebuild-all()\n");
"repair:clean-all(),\n" +
"repair:repair()\n");
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/org/exist/client/ClientFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,8 @@ public static void repairRepository(Collection collection) throws XMLDBException
final XQueryService service = (XQueryService) collection.getService("XQueryService", "1.0");
service.query("import module namespace repair=\"http://exist-db.org/xquery/repo/repair\"\n" +
"at \"resource:org/exist/xquery/modules/expathrepo/repair.xql\";\n" +
"repair:rebuild-all()");
"repair:clean-all(),\n" +
"repair:repair()");
}

public UserManagementService getUserManagementService() throws XMLDBException {
Expand Down

0 comments on commit 0ca482f

Please sign in to comment.