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)
Tue, Dec 24, 10:10 PM
Unknown Object (File)
Thu, Dec 12, 1:35 AM
Unknown Object (File)
Wed, Dec 4, 2:40 AM
Unknown Object (File)
Mon, Dec 2, 4:42 AM
Unknown Object (File)
Sat, Nov 30, 10:32 PM
Unknown Object (File)
Nov 23 2024, 3:09 PM
Unknown Object (File)
Nov 21 2024, 12:22 AM
Unknown Object (File)
Nov 16 2024, 6:18 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.