~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2005-10-18 19:20:40 UTC
  • Revision ID: abentley@panoramicfeedback.com-20051018192040-eab4f299f13496ad
Updated patch to new options regime

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        from fetch_ghosts import fetch_ghosts
86
86
        fetch_ghosts(branch)
87
87
 
 
88
strip_help="""Strip the smallest prefix containing num leading slashes  from \
 
89
each file name found in the patch file."""
 
90
Option.OPTIONS['strip'] = Option('strip', type=int, help=strip_help)
88
91
class cmd_patch(bzrlib.commands.Command):
89
92
    """Apply a named patch to the current tree.
90
93
    """