e.g. newlines, whitespace and branch name collision.
Fixed by http://selenic.com/repo/hg/rev/4cfd02c2df9a David Soria Parra <dsp@php.net> bookmarks: check bookmark format during rename (issue3662) (please test the fix)