techtonik / python-patch

Library to parse and apply unified diffs
https://pypi.python.org/pypi/patch
112 stars 64 forks source link

Add Actions class #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
Actions class will allow customization of python-patch behavior like 
interactive/automatic mode, create/remove files, readonly check if the tree is 
patchable, show patch plan for confirmation by user.

Original issue reported on code.google.com by techtonik@gmail.com on 27 Sep 2010 at 8:36

techtonik commented 8 years ago

One of possible implementations. Not necessarily the best one. Event emitter / handler may be called differently.