[Gambas-user] Patch
John Dovey
dovey.john at gmail.com
Tue Jun 8 06:56:16 CEST 2021
Thank you. That explains it perfectly.
On Mon, 7 Jun 2021 at 12:42, Tobias Boege via User <
user at lists.gambas-basic.org> wrote:
> On Mon, 07 Jun 2021, John Dovey wrote:
> > Hi,
> > I have searched in vain for any docs on the patch mechanism in the IDE.
> Can
> > someone point me in the right direction? I want to know how it is
> designed
> > to be used.
> >
>
> A patch in the IDE is a *source code* patch as generated by the diff(1)
> utility and applied by the patch(1) utility (or `git diff` and `git
> apply`).
>
> Patches are created with respect to old versions of the current project.
> You open your project and click Patch » Create. You navigate to wherever
> you store the tar.gz archives of the old versions of your project and
> select one of them. When you click Next, the patch will be created and
> displayed. You can choose which parts to include. Then you save the
> patch file. This patch describes how to upgrade the old version from the
> tar.gz archive you selected to the current state of the project you have
> loaded in your IDE.
>
> You can email this patch file to anyone who still has the old version
> of your project. They would open their (old) project in the IDE and click
> Patch » Apply. They select the patch file and click on the Apply button.
> This applies the patch and reloads the project. If they ever want to go
> back from the new to the old version, they can load the patch again and
> click Revert.
>
> I attached you the tar.gz of version 0.0.1 of a test project and a patch
> which upgrades your version 0.0.1 to my current 0.0.2. Try it out.
>
> Best,
> Tobias
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210607/b97160c6/attachment.htm>
More information about the User
mailing list