Page MenuHomePhabricator

D8055.id18223.diff
No OneTemporary

D8055.id18223.diff

Index: src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
===================================================================
--- src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
+++ src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
@@ -303,10 +303,10 @@
// 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');
- if ($origin_url != $remote_uri) {
+ $remote_uri = $repository->getRemoteURIEnvelope();
+ if ($origin_url != $remote_uri->openEnvelope()) {
$repository->execLocalCommand(
- 'remote set-url origin %s',
+ 'remote set-url origin %P',
$remote_uri);
}
} else if ($err) {

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 17, 7:53 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713605
Default Alt Text
D8055.id18223.diff (901 B)

Event Timeline