This is an archive of the discontinued Mercurial Phabricator instance.

errors: raise more specifc errors from narrowcommands
ClosedPublic

Authored by martinvonz on Nov 24 2020, 1:05 PM.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Nov 24 2020, 1:05 PM
mharbison72 added inline comments.
hgext/narrow/narrowcommands.py
255–257

StateError?

509–512

StorageError, per the wiki?

pulkit requested changes to this revision.Dec 4 2020, 1:49 PM
pulkit added a subscriber: pulkit.

Requesting changes as I agree with @mharbison72 suggestions here.

hgext/narrow/narrowcommands.py
255–257

+1

509–512

+1

This revision now requires changes to proceed.Dec 4 2020, 1:49 PM
martinvonz marked 2 inline comments as done.Dec 15 2020, 10:48 AM
mharbison72 accepted this revision.Dec 15 2020, 10:59 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.