Page MenuHomePhabricator

D9588.diff
No OneTemporary

D9588.diff

diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php
--- a/src/repository/api/ArcanistMercurialAPI.php
+++ b/src/repository/api/ArcanistMercurialAPI.php
@@ -555,6 +555,10 @@
public function getAllBranches() {
list($branch_info) = $this->execxLocal('bookmarks');
+ if (trim($branch_info) == 'no bookmarks set') {
+ return array();
+ }
+
$matches = null;
preg_match_all(
'/^\s*(\*?)\s*(.+)\s(\S+)$/m',

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 30, 6:09 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6754656
Default Alt Text
D9588.diff (489 B)

Event Timeline