Page MenuHomePhabricator

Support Perforce/Git repositories in "arc land"
ClosedPublic

Authored by epriestley on Oct 28 2019, 5:40 PM.
Tags
None
Referenced Files
F13274847: D20868.diff
Fri, May 31, 4:08 AM
F13261883: D20868.diff
Mon, May 27, 1:33 AM
F13239543: D20868.id49752.diff
Wed, May 22, 4:25 AM
F13233965: D20868.id49747.diff
Tue, May 21, 2:41 AM
F13232576: D20868.diff
Tue, May 21, 1:23 AM
F13226374: D20868.id49747.diff
Sun, May 19, 8:22 PM
F13211329: D20868.diff
Fri, May 17, 5:40 AM
F13208301: D20868.diff
Thu, May 16, 1:15 PM
Subscribers
None

Details

Summary

Ref T13434. Detect perforce remotes and use "git p4" commands in place of "git" commands when operating in Perforce mode.

Test Plan
  • Landed "master" onto itself, saw master update.
  • Landed "feature1" onto clean "master", saw master update.
  • Landed "feature2" onto dirty "master", saw master stay dirty.
  • Landed with "--hold", got sensible submit instructions.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Fix an issue with the non-dirty flow introduced when making the dirty flow work.
  • Ran "arc land" end-to-end in a normal topic branch workflow.
  • Ran "arc land" end-to-end in a normal topic branch workflow with a dirty target branch.
  • Ran "arc land" end-to-end in a no-topic-branch workflow.
This revision was not accepted when it landed; it landed in state Needs Review.Oct 28 2019, 6:25 PM
This revision was automatically updated to reflect the committed changes.