~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_groupcompress_pyx.pyx

Start going through the test failures.

It did catch 1 case where there should have been an exception clause.
So far, though, it doesn't seem super useful, and has some false
positives...

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
 
277
277
 
278
278
cdef unsigned char *_decode_copy_instruction(unsigned char *bytes,
279
 
    unsigned char cmd, unsigned int *offset, unsigned int *length):
 
279
    unsigned char cmd, unsigned int *offset, unsigned int *length): # no except
280
280
    """Decode a copy instruction from the next few bytes.
281
281
 
282
282
    A copy instruction is a variable number of bytes, so we will parse the