Mercurial > hg
comparison hgext/convert/p4.py @ 10938:02d6149a480b stable
convert: write "repository" instead of "repo"
We should strive to avoid slang in our messages to the users.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 18 Apr 2010 15:47:49 +0200 |
parents | 08a0f04b56bd |
children | 9f6731b03906 |
comparison
equal
deleted
inserted
replaced
10933:e3396b218e10 | 10938:02d6149a480b |
---|---|
26 class p4_source(converter_source): | 26 class p4_source(converter_source): |
27 def __init__(self, ui, path, rev=None): | 27 def __init__(self, ui, path, rev=None): |
28 super(p4_source, self).__init__(ui, path, rev=rev) | 28 super(p4_source, self).__init__(ui, path, rev=rev) |
29 | 29 |
30 if "/" in path and not path.startswith('//'): | 30 if "/" in path and not path.startswith('//'): |
31 raise NoRepo('%s does not look like a P4 repo' % path) | 31 raise NoRepo('%s does not look like a P4 repository' % path) |
32 | 32 |
33 checktool('p4', abort=False) | 33 checktool('p4', abort=False) |
34 | 34 |
35 self.p4changes = {} | 35 self.p4changes = {} |
36 self.heads = {} | 36 self.heads = {} |