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
F20853990: D8097.diff
Fri, Jun 26, 1:26 AM
Unknown Object (File)
Thu, Jun 25, 1:13 PM
Unknown Object (File)
Mon, Jun 22, 9:18 AM
Unknown Object (File)
Mon, Jun 22, 9:18 AM
Unknown Object (File)
Mon, Jun 22, 8:06 AM
Unknown Object (File)
Mon, Jun 22, 8:06 AM
Unknown Object (File)
Mon, Jun 22, 8:06 AM
Unknown Object (File)
Mar 31 2026, 9:54 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