~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to patches.py

  • Committer: Michael Ellerman
  • Date: 2005-11-28 06:24:55 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051128062455-9da2ff70dd70e65c
Add tests for new shelf layout.

Shelves are now named .bzr/x-shelf/default/0x where x increases.

Also add a test for doing shelve/unshelve multiple times.

Show diffs side-by-side

added added

removed removed

Lines of Context:
302
302
    for line in iter_lines:
303
303
        if line.startswith('*** '):
304
304
            continue
305
 
        if line.startswith('#'):
306
 
            continue
307
305
        if line.startswith('==='):
308
306
            continue
309
307
        elif line.startswith('--- '):