Homestyx hydra
Diffusion hydra a546b029b0bc

Censor credentials possibly present in Git remote URIs when pulls fail because…

Description

Censor credentials possibly present in Git remote URIs when pulls fail because of a URI mismatch

Summary: Fixes T12945.

Test Plan:
Mostly faked this, got a censored error:

$ ./bin/repository update R38
[2017-07-31 19:40:13] EXCEPTION: (Exception) Working copy at "/Users/epriestley/dev/core/repo/local/38/" has a mismatched origin URI, "https://********@example.com/". The expected origin URI is "https://github.com/phacility/libphutil.git". Fix your configuration, or set the remote URI correctly. To avoid breaking anything, Phabricator will not automatically fix this. at [<phabricator>/src/applications/repository/engine/PhabricatorRepositoryEngine.php:186]

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12945

Differential Revision: https://secure.phabricator.com/D18304

Details

Provenance
epriestleyAuthored on Jul 31 2017, 12:40 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:1b63a1bd437c: Some more project images
Branches
Unknown
Tags
Unknown

Event Timeline