Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1050
envelope.diff
Active
Public
Actions
Authored by
epriestley
on Jan 24 2014, 1:07 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F104304: envelope.diff
Jan 24 2014, 1:07 AM
2014-01-24 01:07:11 (UTC+0)
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
edited the content of this paste.
(Show Details)
Jan 24 2014, 1:07 AM
2014-01-24 01:07:11 (UTC+0)
epriestley
changed the title of this paste from untitled to
envelope.diff
.
epriestley
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment