HomePhabricator

revset: extract a helper to parse integer range

Authored by yuja.

Description

revset: extract a helper to parse integer range

It's getting common. As a first step, this patch adds getintrange() and
makes followlines() use it.

I wanted to unify the error messages to make the function interface simple,
but I failed to phrase it briefly.

Details

Committed
yujaJan 26 2019, 11:18 PM
Parents
rHG66399f2e92aa: commit: if interactive, look elsewhere for whitespace settings (BC)
Branches
Unknown
Tags
Unknown