Skip to content
Snippets Groups Projects
Commit 361ab1e2 authored by Kevin Bullock's avatar Kevin Bullock
Browse files

scmutil: add bad character checking to checknewlabel

This factors out the checks from tags and bookmarks, and newly applies
the same prohibitions to branches. checknewlabel takes a new parameter,
kind, indicating the kind of label being checked.

Test coverage is added for all three types of labels.
parent c547e1ac
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment