Page MenuHomePhabricator

Add "Clone As" to repositories and generate full clone commands in UI
ClosedPublic

Authored by epriestley on Jan 29 2014, 9:05 PM.
Tags
None
Referenced Files
F13062389: D8097.diff
Fri, Apr 19, 11:41 PM
F13052101: D8097.id18319.diff
Fri, Apr 19, 7:07 AM
Unknown Object (File)
Fri, Apr 19, 1:25 AM
Unknown Object (File)
Thu, Apr 18, 2:40 PM
Unknown Object (File)
Tue, Apr 16, 11:08 AM
Unknown Object (File)
Tue, Apr 16, 12:50 AM
Unknown Object (File)
Fri, Apr 12, 9:31 PM
Unknown Object (File)
Thu, Apr 11, 10:11 AM
Subscribers
Tokens
"Love" token, awarded by wotte."Like" token, awarded by dctrwatson.

Details

Summary

Ref T4175.

  • Add a configurable name for the clone-as directory, so you can have "Bits & Pieces" clone as "bits~n~pieces/" or simliar.
  • By default, use "reasonable" heruistics to choose such a name.
  • Generate a copy/pasteable clone commmand with this directory name.
Test Plan

Looked at some repositories.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
231

wat