Page MenuHomePhabricator
Paste P1050

envelope.diff
ActivePublic

Authored by epriestley on Jan 24 2014, 1:07 AM.
Tags
None
Referenced Files
F104304: envelope.diff
Jan 24 2014, 1:07 AM
Subscribers
None
diff --git a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
index c0ee14a..0abc7d4 100755
--- a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
+++ b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
@@ -303,7 +303,7 @@ final class PhabricatorRepositoryPullEngine
// Fix remote origin url if it doesn't match our configuration
$origin_url = $repository->execLocalCommand(
'config --get remote.origin.url');
- $remote_uri = $repository->getDetail('remote-uri');
+ $remote_uri = $repository->getRemoteURIEnvelope()->openEnvelope();
if ($origin_url != $remote_uri) {
$repository->execLocalCommand(
'remote set-url origin %s',

Event Timeline

epriestley changed the title of this paste from untitled to envelope.diff.
epriestley updated the paste's language from autodetect to autodetect.