~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to patchsource.py

  • Committer: Michael Ellerman
  • Date: 2006-03-22 05:23:58 UTC
  • mto: (0.3.1 shelf-dev)
  • mto: This revision was merged to the branch mainline in revision 367.
  • Revision ID: michael@ellerman.id.au-20060322052358-4a7fda32faa2c5ce
Cleanup naming. PatchSource gives us back Patches not Hunks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    def readlines(self):
11
11
        raise NotImplementedError()
12
12
 
13
 
    def readhunks(self):
 
13
    def readpatches(self):
14
14
        return patches.parse_patches(self.readlines())
15
15
 
16
16
class FilePatchSource(PatchSource):