Skip to content

Commit

Permalink
[#26] Finish ISVNManager implementation
Browse files Browse the repository at this point in the history
* pack
  • Loading branch information
ruspl-afed authored and eparovyshnaya committed Mar 2, 2024
1 parent 4ccc499 commit d3c70e2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,12 @@ public void upgrade(String path, ISVNRepositoryNotificationCallback callback, IS
@Override
public void pack(String path, ISVNRepositoryNotificationCallback callback, ISVNProgressMonitor monitor)
throws SVNConnectorException {
//TODO
Map<String, Object> parameters = new HashMap<>();
parameters.put("path", path); //$NON-NLS-1$
parameters.put("callback", callback); //$NON-NLS-1$
parameters.put("monitor", monitor); //$NON-NLS-1$
watch.commandLong(ISVNCallListener.PACK, parameters, callback(monitor), //
p -> admin.pack(new File(path), new AdaptReposNotifyCallback(composite)));
}

private ProgressCallback callback(ISVNProgressMonitor monitor) {
Expand Down

0 comments on commit d3c70e2

Please sign in to comment.