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
F13235006: D9692.diff
Tue, May 21, 4:11 AM
F13213145: D9692.diff
Fri, May 17, 7:26 AM
Unknown Object (File)
Tue, May 7, 9:22 AM
Unknown Object (File)
Fri, May 3, 9:14 AM
Unknown Object (File)
Thu, Apr 25, 12:59 AM
Unknown Object (File)
Apr 11 2024, 10:30 AM
Unknown Object (File)
Apr 3 2024, 2:08 PM
Unknown Object (File)
Jan 18 2024, 12:40 PM
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.