Stupid questions about patching

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
ChillCore
Tycoon
Tycoon
Posts: 2867
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Stupid questions about patching

Post by ChillCore »

You need Git or HG for that.

As a workaround ...
-Pull diff from modified patchpack.
-Compare original and modified patchpack.diff in file comparison program while applying only the difference to clean trunk. (Manually.)
-Pull diff.
-Done.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Stupid questions about patching

Post by Alberth »

If you have a diff program, you can get a diff from two directories.

However, it is in the somewhat longer run probably better to get HG, and learn how to use its patch queue (mq).
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Stupid questions about patching

Post by Zuu »

Sounds like a task for hg queues. But any version control system would probably do.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 9 guests