equal
deleted
inserted
replaced
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'): |