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
F14481534: D8097.diff
Mon, Dec 30, 4:02 AM
Unknown Object (File)
Wed, Dec 11, 8:33 PM
Unknown Object (File)
Sun, Dec 8, 2:28 PM
Unknown Object (File)
Wed, Dec 4, 3:10 PM
Unknown Object (File)
Wed, Dec 4, 7:22 AM
Unknown Object (File)
Sat, Nov 30, 1:11 PM
Unknown Object (File)
Nov 29 2024, 3:58 AM
Unknown Object (File)
Nov 26 2024, 3:51 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