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
F14489635: D8097.id.diff
Wed, Jan 1, 11:37 PM
F14489580: D8097.diff
Wed, Jan 1, 11:22 PM
Unknown Object (File)
Tue, Dec 31, 2:03 PM
Unknown Object (File)
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
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

Repository
rP Phabricator
Branch
ruri2
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
231

wat