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
Unknown Object (File)
Mon, Jun 9, 1:53 AM
Unknown Object (File)
Thu, Jun 5, 2:08 PM
Unknown Object (File)
Thu, Jun 5, 11:21 AM
Unknown Object (File)
May 10 2025, 4:06 AM
Unknown Object (File)
May 6 2025, 6:24 AM
Unknown Object (File)
May 5 2025, 5:59 AM
Unknown Object (File)
Apr 23 2025, 10:03 AM
Unknown Object (File)
Apr 9 2025, 12:00 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