Skip to content

Commit 05eeac7

Browse files
author
Denis
committed
Added Branches, Trunk and Tags folders create on setUp()
Fixed branch creation limit added to getCommitMessages() documentation updated
1 parent a3d5bad commit 05eeac7

File tree

4 files changed

+200
-125
lines changed

4 files changed

+200
-125
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pk-vcs-svn is lightweight library for execute basic SVN VCS operations (merge, b
1414
- Creates new before and deletes after each test
1515
- Named randomly (uuid is used)
1616

17-
# Using pk-vcs-git
17+
# Using pk-vcs-svn
1818
- Add github-hosted pk-vcs-svn project as maven dependency using [jitpack.io](https://jitpack.io/). As an example, add following to gradle.build file:
1919
```gradle
2020
allprojects {
@@ -44,11 +44,19 @@ Pk-vcs-svn is lightweight library for execute basic SVN VCS operations (merge, b
4444
IVCS vcs = new SVNVCS(repoWorkspace, username, pass);
4545
```
4646
- Use methods of `IVCS` interface. See [pk-vcs-api](https://github.com/ProjectKaiser/pk-vcs-api) for details
47-
- Use `vcs.setProxy()` and `vcs.setCredentials()` if neccessary
47+
- Use `vcs.setProxy()` and `vcs.setCredentials()` if necessary
4848

4949
# Implementation details
5050
- [SVNKit](https://svnkit.com/) is used for manage SVN repositories
51-
- LWC is obtained automatically when neccessary
51+
- LWC is obtained automatically when necessary
5252

5353
# Functional testing
5454
- To execute tests just run SVNVCSTest class as JUnit test. Tests from VCSAbstractTest class will be executed. See [pk-vcs-test](https://github.com/ProjectKaiser/pk-vcs-test) for details
55+
56+
# Limitations
57+
- According to IVCS description `IVCS.getBranches()` should return list of user-created branches. But a branch and a dir are the same for SVN. So `SVNVCS.getBranches()` returns set of first level folders of "Branches/" branch and "Trunk" branch. I.e.:
58+
- Assume we have following directory structure:
59+
- Branches/Br1/Folder/file.txt
60+
- Branches/Br2/Folder/file.txt
61+
- Trunk/Folder/file.txt
62+
- Then `SVNVCS.getBranches()` method will return [Br1, Br2, Trunk]

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ defaultTasks 'build';
1919

2020
dependencies {
2121
compile 'com.github.ProjectKaiser:pk-vcs-api:master-SNAPSHOT'
22-
compile 'org.tmatesoft.svnkit:svnkit:1.8.12'
22+
compile 'org.tmatesoft.svnkit:svnkit:1.8.10'
2323
compile 'commons-logging:commons-logging:1.2'
2424

2525
testCompile 'junit:junit:4.12'

0 commit comments

Comments
 (0)