[Gambas-user] IDE patch functionality

Tobias Boege taboege at ...626...
Sat Jan 19 15:40:51 CET 2013


Hi,

I added the following items under the "Make" menu in the IDE (my working
copy):

- "Generate patch..." to take an old source archive and generate a diff
  relative to the current project
- "Apply patch..." to apply a previously generated patch to the currently
  open project (the "old" one from above)
- "Revert patch..." the inverse operation of "Apply patch..."

One may then have a software-1.0.0.tar.gz archive and generate a patch for
it to ascend to the latest version. I used my modified IDE to create a diff
between itself and the unmodified IDE source code archive, applied and
reverted it without errors.

This may not be the usual Gambas development pattern but I found it
particularly useful the last days. If anyone is interested, I will add more
advanced error handling and perhaps commit it to the official repository if
Benoit is content with it.

Regards,
Tobi




More information about the User mailing list