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
F13371909: D7759.id17553.diff
Fri, Jun 28, 6:08 AM
F13369795: D7759.id17550.diff
Thu, Jun 27, 1:49 PM
F13369777: D7759.diff
Thu, Jun 27, 1:43 PM
F13369241: D7759.id17552.diff
Thu, Jun 27, 10:32 AM
F13353268: D7759.id17552.diff
Sun, Jun 23, 7:40 PM
F13349294: D7759.diff
Sun, Jun 23, 4:19 AM
F13336851: D7759.diff
Wed, Jun 19, 8:23 AM
F13302858: D7759.diff
Sat, Jun 8, 5:55 AM
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

Branch
repouri
Lint
Lint Passed
Unit
Tests Passed

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.