changeset 50588 | 886d05ed9a46 |
parent 50587 | 1c810421a82f |
child 50925 | d718eddf01d9 |
50587:1c810421a82f | 50588:886d05ed9a46 |
---|---|
1701 |
1701 |
1702 ''' |
1702 ''' |
1703 |
1703 |
1704 newhunks = [] |
1704 newhunks = [] |
1705 for c in hunks: |
1705 for c in hunks: |
1706 if util.safehasattr(c, b'reversehunk'): |
1706 if util.safehasattr(c, 'reversehunk'): |
1707 c = c.reversehunk() |
1707 c = c.reversehunk() |
1708 newhunks.append(c) |
1708 newhunks.append(c) |
1709 return newhunks |
1709 return newhunks |
1710 |
1710 |
1711 |
1711 |