Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14030009
D15597.id37598.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.id37598.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
Sat, Nov 9, 10:59 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6763559
Default Alt Text
D15597.id37598.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