]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Remove ArcanistSubversionAPI::hasMergeConflicts()
authorepriestley <git@epriestley.com>
Thu, 6 Dec 2012 20:20:02 +0000 (12:20 -0800)
committerepriestley <git@epriestley.com>
Thu, 6 Dec 2012 20:20:02 +0000 (12:20 -0800)
Summary: No callsites, redundant with getMergeConflicts().

Test Plan: Grepped for callsites.

Reviewers: vrana

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D4093

src/repository/api/ArcanistSubversionAPI.php

index 16460c5ad0f710bedc5c7b722f1684eef42c1e6a..82c9402eafcd81732b969c3648f85a0387b645f7 100644 (file)
@@ -46,16 +46,6 @@ final class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
     return $future;
   }
 
-
-  public function hasMergeConflicts() {
-    foreach ($this->getSVNStatus() as $path => $mask) {
-      if ($mask & self::FLAG_CONFLICT) {
-        return true;
-      }
-    }
-    return false;
-  }
-
   public function getWorkingCopyStatus() {
     return $this->getSVNStatus();
   }