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
F15465019: D8097.id18346.diff
Wed, Apr 2, 1:46 PM
F15462001: D8097.id18346.diff
Tue, Apr 1, 12:43 PM
F15462000: D8097.id18319.diff
Tue, Apr 1, 12:43 PM
F15461999: D8097.id.diff
Tue, Apr 1, 12:43 PM
F15461247: D8097.id.diff
Tue, Apr 1, 6:37 AM
F15460498: D8097.diff
Mon, Mar 31, 11:19 PM
F15338194: D8097.diff
Sun, Mar 9, 9:47 AM
F15291363: D8097.id18346.diff
Mar 5 2025, 12:34 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