~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to shelf_ui.py

  • Committer: Aaron Bentley
  • Date: 2008-10-11 00:09:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3823.
  • Revision ID: aaron@aaronbentley.com-20081011000913-rn10mjozysucwamr
switch to shelve_lines

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
                    offset -= (hunk.mod_range - hunk.orig_range)
141
141
        target_lines = self.target_tree.get_file_lines(file_id)
142
142
        patched = patches.iter_patched_from_hunks(target_lines, final_hunks)
143
 
        creator.shelve_text(file_id, list(patched))
 
143
        creator.shelve_lines(file_id, list(patched))
144
144
        return len(parsed.hunks) - len(final_hunks)
145
145
 
146
146