mercurial/bookmarks.py
changeset 14064 e4bfb9c337f3
parent 14039 3fc7154396d2
child 14168 135e244776f0
equal deleted inserted replaced
14063:87ebf72878ed 14064:e4bfb9c337f3
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 from mercurial.i18n import _
     8 from mercurial.i18n import _
     9 from mercurial.node import nullid, nullrev, bin, hex, short
     9 from mercurial.node import hex
    10 from mercurial import encoding, error, util
    10 from mercurial import encoding, error, util
    11 import errno, os
    11 import errno, os
    12 
    12 
    13 def valid(mark):
    13 def valid(mark):
    14     for c in (':', '\0', '\n', '\r'):
    14     for c in (':', '\0', '\n', '\r'):