~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-05-10 01:56:42 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20060510015642-91203f0957d86f9d
Treat patches as p0 by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
        wt = WorkingTree.open_containing('.')[0]
121
121
        if strip == -1:
122
122
            if bzrdiff: strip = 0
123
 
            else:       strip = 1
 
123
            else:       strip = 0
124
124
 
125
125
        return patch(wt, filename, strip, legacy= not bzrdiff)
126
126