Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Plugin SourceWebSVN : fix wrong comparison of SourceChangeset action …

…field

Possible values of this field are:
'add' for file added
'rm' for file remove
'mod' for file modified
'mv' for move
  • Loading branch information...
commit deba255e873879791c339c4efb5e46cef95f2d34 1 parent 2045d54
@jeckyhl jeckyhl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 SourceWebSVN/SourceWebSVN.php
View
4 SourceWebSVN/SourceWebSVN.php
@@ -131,7 +131,7 @@ public function url_changeset( $p_repo, $p_changeset ) {
}
public function url_file( $p_repo, $p_changeset, $p_file ) {
- if ( $p_file->action == 'D' ) {
+ if ( $p_file->action == 'rm' ) {
return '';
}
@@ -143,7 +143,7 @@ public function url_file( $p_repo, $p_changeset, $p_file ) {
}
public function url_diff( $p_repo, $p_changeset, $p_file ) {
- if ( $p_file->action == 'D' || $p_file->action == 'A' ) {
+ if ( $p_file->action == 'rm' || $p_file->action == 'add' ) {
return '';
}
Please sign in to comment.
Something went wrong with that request. Please try again.