Mercurial > public > mercurial-scm > hg
comparison mercurial/bundlerepo.py @ 6953:63b5f4c73c98
i18n: mark strings for translation in Mercurial
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sun, 31 Aug 2008 16:12:02 +0200 |
parents | fb42030d79d6 |
children | 5e13df32fb74 |
comparison
equal
deleted
inserted
replaced
6952:3fffba1c87d0 | 6953:63b5f4c73c98 |
---|---|
37 n = len(self) | 37 n = len(self) |
38 prev = None | 38 prev = None |
39 for chunk, start in chunkpositer(): | 39 for chunk, start in chunkpositer(): |
40 size = len(chunk) | 40 size = len(chunk) |
41 if size < 80: | 41 if size < 80: |
42 raise util.Abort("invalid changegroup") | 42 raise util.Abort(_("invalid changegroup")) |
43 start += 80 | 43 start += 80 |
44 size -= 80 | 44 size -= 80 |
45 node, p1, p2, cs = struct.unpack("20s20s20s20s", chunk[:80]) | 45 node, p1, p2, cs = struct.unpack("20s20s20s20s", chunk[:80]) |
46 if node in self.nodemap: | 46 if node in self.nodemap: |
47 prev = node | 47 prev = node |