~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_map.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
559
559
        """
560
560
        if key.startswith(prefix):
561
561
            return prefix
 
562
        pos = -1
562
563
        # Is there a better way to do this?
563
564
        for pos, (left, right) in enumerate(zip(prefix, key)):
564
565
            if left != right: