Page MenuHomePhabricator

Fix some repository URI handling issues in Git and Mercurial
ClosedPublic

Authored by epriestley on Dec 12 2013, 12:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 7, 5:58 AM
Unknown Object (File)
Sun, Jun 7, 5:53 AM
Unknown Object (File)
Sat, Jun 6, 9:53 AM
Unknown Object (File)
Apr 3 2026, 2:02 AM
Unknown Object (File)
Apr 1 2026, 9:47 PM
Unknown Object (File)
Mar 15 2026, 4:39 PM
Unknown Object (File)
Mar 7 2026, 2:18 PM
Unknown Object (File)
Mar 4 2026, 3:25 PM
Subscribers

Details

Summary

See https://github.com/facebook/phabricator/issues/467. @dctrwatson also ran into an issue where we were trying to setPass() a GitURI.

  • For Git and Mercurial, properly generate credential URIs where relevant.
  • Don't try to setPass() on Git-style URIs.

This isn't perfect but should clean things up a bit.

Test Plan

Added unit tests. Lots of grep.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley updated this revision to Unknown Object (????).Dec 12 2013, 5:45 PM
  • Add more tests.
  • Ran pull/discover against an HTTP auth remote.