Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14008231
D9588.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
489 B
Referenced Files
None
Subscribers
None
D9588.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9588: Correctly recognize "no bookmarks" for Mercurial
Attached
Detach File
Event Timeline
Log In to Comment