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)
Sat, May 10, 4:06 AM
Unknown Object (File)
Tue, May 6, 6:24 AM
Unknown Object (File)
Mon, May 5, 5:59 AM
Unknown Object (File)
Wed, Apr 23, 10:03 AM
Unknown Object (File)
Apr 9 2025, 12:00 AM
Unknown Object (File)
Apr 2 2025, 1:46 PM
Unknown Object (File)
Apr 1 2025, 12:43 PM
Unknown Object (File)
Apr 1 2025, 12:43 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