Skip to content

Commit

Permalink
[#105] Implement removeRemote method
Browse files Browse the repository at this point in the history
Fixes #105
  • Loading branch information
ruspl-afed authored and eparovyshnaya committed Jan 8, 2025
1 parent 0fdef18 commit db3ad2c
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1056,8 +1056,18 @@ public void removeLocal(String[] path, long options, ISVNProgressMonitor monitor
@Override
public void removeRemote(String[] path, String message, long options, Map revProps, ISVNProgressMonitor monitor)
throws SVNConnectorException {
System.out.println("SvnKit1_10Connector.removeRemote()");
//TODO
Map<String, Object> parameters = new HashMap<>();
parameters.put("path", path);
parameters.put("message", message);
parameters.put("options", Long.valueOf(options));
parameters.put("revProps", revProps);
parameters.put("monitor", monitor);
watch.commandLong(ISVNCallListener.REMOVE_REMOTE, parameters, callback(monitor), p -> client.remove(//
new HashSet<>(Arrays.asList(path)), //
(options & Options.FORCE) != 0, false, //
new RevProps(revProps).adapt(), //
new CommitMessage(message), //
new CommitStatusCallback(monitor)));
}

@Override
Expand Down

0 comments on commit db3ad2c

Please sign in to comment.