Page MenuHomePhabricator

Use more modern detection of repositories in "arc close-revision"
ClosedPublic

Authored by epriestley on Mar 14 2014, 12:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 3:13 AM
Unknown Object (File)
Sun, Dec 15, 3:04 AM
Unknown Object (File)
Fri, Dec 13, 5:01 AM
Unknown Object (File)
Wed, Dec 4, 8:55 AM
Unknown Object (File)
Wed, Dec 4, 8:55 AM
Unknown Object (File)
Wed, Dec 4, 8:55 AM
Unknown Object (File)
Wed, Dec 4, 8:47 AM
Unknown Object (File)
Sat, Nov 30, 5:20 PM
Subscribers

Details

Summary

Fixes T4603. We fire arc close-revision --finalize implicitly from arc land, which may close a corresponding Differential revision.

We want to close if the repository is not present in Phabricator (i.e., we'll never be able to close in response to the commit message, since we'll never see it). Historically, we used Arcanist Project -> "Tracked" to make this determination. Instead, just check if the working copy is associated with a repository. This is simpler, easier, and works better.

Test Plan

Ran arc close-revision --finalize.

Diff Detail

Repository
rARC Arcanist
Branch
amend2
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

epriestley retitled this revision from to Use more modern detection of repositories in "arc close-revision".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 14 2014, 12:42 AM
epriestley updated this revision to Diff 20226.

Closed by commit rARC1e6d958b27df (authored by @epriestley).