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)
Fri, Mar 22, 3:10 PM
Unknown Object (File)
Fri, Mar 22, 3:10 PM
Unknown Object (File)
Fri, Mar 22, 2:38 PM
Unknown Object (File)
Fri, Mar 22, 2:18 PM
Unknown Object (File)
Jan 29 2024, 11:08 AM
Unknown Object (File)
Jan 27 2024, 5:07 AM
Unknown Object (File)
Jan 6 2024, 4:07 AM
Unknown Object (File)
Dec 28 2023, 6: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