Page MenuHomePhabricator

Make `arc feature` work consistently with and without branches/bookmarks
AbandonedPublic

Authored by richardvanvelzen on Jun 23 2014, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 31, 11:56 PM
Unknown Object (File)
Dec 9 2024, 10:56 AM
Unknown Object (File)
Dec 8 2024, 9:07 PM
Unknown Object (File)
Nov 26 2024, 3:10 PM
Unknown Object (File)
Nov 18 2024, 5:54 PM
Unknown Object (File)
Nov 11 2024, 9:38 PM
Unknown Object (File)
Nov 10 2024, 10:22 AM
Unknown Object (File)
Nov 10 2024, 5:36 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

If you call arc feature with no arguments and you have no branches/bookmarks whatsoever, you get a usage exception. This doesn't seem necessary.

Test Plan

ran arc feature in a mercurial repo:

  1. With bookmarks regarding closed revisions
  2. Same as above, but with --view-all
  3. With all bookmarks deleted

Diff Detail

Repository
rARC Arcanist
Branch
feat
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1335
Build 1335: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

richardvanvelzen retitled this revision from to Make `arc feature` work consistently with and without branches/bookmarks.
richardvanvelzen updated this object.
richardvanvelzen edited the test plan for this revision. (Show Details)
richardvanvelzen added a reviewer: epriestley.

This could of course break if people depend on arc feature with no branches/bookmarks having exit code 1.