File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/scm4j/vcs/svn Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -506,13 +506,13 @@ public String getVCSTypeString() {
506506 }
507507
508508 @ Override
509- public String removeFile (String branchName , String filePath , String commitMessage ) {
509+ public VCSCommit removeFile (String branchName , String filePath , String commitMessage ) {
510510 try {
511511 try (IVCSLockedWorkingCopy wc = repo .getVCSLockedWorkingCopy ()) {
512512 SVNCommitInfo res = clientManager
513513 .getCommitClient ()
514514 .doDelete (new SVNURL [] {getBranchUrl (branchName ).appendPath (filePath , true )}, commitMessage );
515- return Long .toString (res .getNewRevision ());
515+ return new VCSCommit ( Long .toString (res .getNewRevision ()), commitMessage , res . getAuthor ());
516516 }
517517 } catch (SVNException e ) {
518518 throw new EVCSException (e );
You can’t perform that action at this time.
0 commit comments