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
F14062214: D8097.diff
Mon, Nov 18, 11:16 AM
F14046176: D8097.diff
Wed, Nov 13, 7:03 PM
F14034733: D8097.diff
Sun, Nov 10, 1:59 AM
F14003799: D8097.id.diff
Sat, Oct 26, 10:54 AM
Unknown Object (File)
Oct 15 2024, 9:51 PM
Unknown Object (File)
Oct 11 2024, 4:02 PM
Unknown Object (File)
Oct 11 2024, 4:02 PM
Unknown Object (File)
Oct 11 2024, 4:02 PM
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