Mercurial > hg
comparison mercurial/narrowspec.py @ 44283:934a79697c36
rust-dirs-multiset: improve temporary error message
While we wait on a future patch that could verify that the paths passed to
`DirsMultiset` have been audited, we still need to handle this error.
This patch makes it easier to bubble up and makes the error clearer.
Also, this patch introduces the `subslice_index` function that could be useful
for other - albeit niche - purposes.
Differential Revision: https://phab.mercurial-scm.org/D7921
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Fri, 24 Jan 2020 11:10:07 +0100 |
parents | 8ff1ecfadcd1 |
children | 1922694d638f |
comparison
equal
deleted
inserted
replaced
44282:877805928f85 | 44283:934a79697c36 |
---|