Page MenuHomePhabricator

D9387.diff
No OneTemporary

D9387.diff

diff --git a/src/applications/differential/landing/DifferentialLandingToHostedGit.php b/src/applications/differential/landing/DifferentialLandingToHostedGit.php
--- a/src/applications/differential/landing/DifferentialLandingToHostedGit.php
+++ b/src/applications/differential/landing/DifferentialLandingToHostedGit.php
@@ -102,6 +102,7 @@
ArcanistRepositoryAPI $workspace,
PhabricatorUser $user) {
+ putenv('PHABRICATOR_USER='.$user->getUsername());
$workspace->execxLocal("push origin HEAD:master");
}
@@ -123,11 +124,6 @@
return;
}
- // TODO: This temporarily disables this action, because it doesn't work
- // and is confusing to users. If you want to use it, comment out this line
- // for now and we'll provide real support eventually.
- return;
-
return $this->createActionView(
$revision,
pht('Land to Hosted Repository'));

File Metadata

Mime Type
text/plain
Expires
May 18 2024, 7:06 AM (6 w, 58 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6278099
Default Alt Text
D9387.diff (902 B)

Event Timeline