~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to shelf.py

  • Committer: Aaron Bentley
  • Date: 2006-03-01 21:16:58 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060301211658-91ae24db2df6c1d6
Updated to match new bzr diff behaviour

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
        return 1
129
129
 
130
130
def run_patch(branch_base, patches, reverse=False):
131
 
    args = ['patch', '-d', branch_base, '-s', '-p0', '-f']
 
131
    args = ['patch', '-d', branch_base, '-s', '-p1', '-f']
132
132
    if reverse:
133
133
        args.append('-R')
134
134
    process = Popen(args, stdin=PIPE)