merge with branch 1.x

This commit is contained in:
Sebastian Sdorra
2017-01-14 13:25:25 +01:00
22 changed files with 260 additions and 377 deletions

View File

@@ -44,6 +44,7 @@ import sonia.scm.util.IOUtil;
//~--- JDK imports ------------------------------------------------------------
import java.io.Closeable;
import java.io.File;
/**
*
@@ -188,6 +189,16 @@ public final class RepositoryClient implements Closeable
return new TagCommandBuilder(clientProvider.getTagCommand());
}
/**
* Returns the working copy of the repository.
*
* @return working copy
* @since 1.51
*/
public File getWorkingCopy() {
return clientProvider.getWorkingCopy();
}
/**
* Method description
*

View File

@@ -40,6 +40,7 @@ import sonia.scm.repository.client.api.ClientCommandNotSupportedException;
//~--- JDK imports ------------------------------------------------------------
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.Set;
@@ -138,4 +139,12 @@ public abstract class RepositoryClientProvider implements Closeable
{
throw new ClientCommandNotSupportedException(ClientCommand.TAG);
}
/**
* Returns the working copy of the repository client.
*
* @return working copy
* @since 1.51
*/
public abstract File getWorkingCopy();
}