Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14044696
D15597.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15597.diff
View Options
Index: src/land/ArcanistGitLandEngine.php
===================================================================
--- src/land/ArcanistGitLandEngine.php
+++ src/land/ArcanistGitLandEngine.php
@@ -133,17 +133,11 @@
// user to enter a password if they're fetching over HTTP with basic
// authentication. See T10314.
- $err = $api->execPassthru(
+ $api->execxLocal(
'fetch --quiet -- %s %s',
$this->getTargetRemote(),
$this->getTargetOnto());
- if ($err) {
- throw new ArcanistUsageException(
- pht(
- 'Fetch failed! Fix the error and run "%s" again.',
- 'arc land'));
- }
}
private function updateWorkingCopy() {
@@ -213,18 +207,12 @@
pht('PUSHING'),
pht('Pushing changes to "%s".', $this->getTargetFullRef()));
- $err = $api->execPassthru(
+ $api->execxLocal(
'push -- %s %s:%s',
$this->getTargetRemote(),
$this->mergedRef,
$this->getTargetOnto());
- if ($err) {
- throw new ArcanistUsageException(
- pht(
- 'Push failed! Fix the error and run "%s" again.',
- 'arc land'));
- }
}
private function reconcileLocalState() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 13, 7:44 PM (6 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6763559
Default Alt Text
D15597.diff (1 KB)
Attached To
Mode
D15597: Fix arc on windows not working with proc_open
Attached
Detach File
Event Timeline
Log In to Comment