Page 16 of 40

Re: Howto apply a patch/diff file

Posted: 19 Nov 2008 18:58
by Ben1338
What's a HD? What about the desktop?

Re: Howto apply a patch/diff file

Posted: 20 Nov 2008 02:48
by athanasios
?( . . .
-"Harley Davidson?"

Re: Howto apply a patch/diff file

Posted: 20 Nov 2008 15:56
by Ben1338
thanks for the original reply.

And thanks to the rest of the people who helped me.

Re: Howto apply a patch/diff file

Posted: 22 Nov 2008 16:25
by Firestar
I don't know if this is the correct place to be asking this, but have being trying to apply a patch, now as buildottd does not work anymore, but it does install mingw32, I have compliled with it, for a number of days, but when i try to patch I get this.
sh: /bin/patch: Permission denied
I'm using vista, and tryed running patch with admin access, any idea on how to fix this problem

Thanks

Re: Howto apply a patch/diff file

Posted: 24 Nov 2008 02:05
by DaleStan

Code: Select all

$ ls -l /bin/patch*

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 11:57
by Hamilton2007
I think i can handle the patching stuff now. Only are all of the patching files in red. I'm trying the map-1M-13664-fixed patch.

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 12:48
by Hamilton2007
Why are their note of exclamations in my SVN map ?

Lang, genworld_gui, train_cmd, map and map_type have all a red note of exclamation, all the rest is green???

If i try update SVN, they stay in red.

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 13:01
by Alberth
Hamilton2007 wrote:Why are their note of exclamations in my SVN map ?

Lang, genworld_gui, train_cmd, map and map_type have all a red note of exclamation, all the rest is green???

If i try update SVN, they stay in red.
No idea what you are using, but a wild guess:

You are trying to merge a recent trunk (in the order of revision 16xxx) with an old patch of revision 13xxx, and you have merge conflicts (what is the state of the 'red' files?) since a lot happens in 3000 changes.

To resolve the conflicts, you'll have to investigate, and decide how the change should be merged. Once that is done, denote to svn that you have resolved the conflict.
The olny other alternative is to revert the patch.

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 13:07
by Hamilton2007
Ok i revert the SVN map now and they are all green now.

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 13:13
by Hamilton2007
If i right click SVN map and choose applay patch, then choose my patch, then i get the merge window but some of the patch files are in red, what does this mean?

example i'm trying the map-1M-13664-fixed patch.

settings.cpp
english.txt
train_cmd.cpp
openttd.cpp are all red.

genworld_gui.cpp
saveload.cpp
map_type.h
map.cpp are all black

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 13:52
by Alberth
Repeating your question does not work.

Try reading the manual of your SVN program (there are many, and not every body uses the same one).

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 14:08
by Hamilton2007
I'm using TortoiseSVN and theire is no manuel in it.

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 14:17
by Thief^
Really?

I think, the red entries in the merge files list mean that the trunk version of that file has changed since the patch was made. It's not a problem unless it gives you errors about conflicts when you try to merge.

The red icons on files after patching mean that you have changes to those files compared to trunk. If you've just applied a patch, you want that. What you don't want is yellow "warning sign"-type triangles, which indicate a problem.

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 14:19
by Rubidium
The developers of TortoiseSVN[0] seem to disagree with you: [quote=TortoiseSVN]If you have TortoiseSVN installed, you can simply press the F1 key in any dialog to start up the help.[/quote]

[0] http://tortoisesvn.net/support <- also contains PDF versions of the manual (in several languages)

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 14:20
by Thief^
Beat you to it Rubi!

Re: Howto apply a patch/diff file

Posted: 30 Nov 2008 14:33
by Hamilton2007
Yeah found it :)

But it isn't really simple in my opinion

Re: Howto apply a patch/diff file

Posted: 01 Dec 2008 03:17
by DaleStan
Indeed. Many people have problems with reading. But please don't foist those problems on us. Find your friendly local reading teacher, and ask him or her in person.

Re: Howto apply a patch/diff file

Posted: 01 Dec 2008 14:03
by Hamilton2007
I'm just asking right :roll:

I'm asking here because here are the pro's with experience on the program.

But i gave up, the translation from the program to dutch is really bad in my opinion.

Re: Howto apply a patch/diff file

Posted: 02 Dec 2008 03:13
by DaleStan
"Professional" means "I get paid to do this".

I do not get paid to do this, ergo I am not a professional. As far as I know, everyone else on these forums is in the same boat. You are welcome to arrange a change in that status.

And the apo'strophe doe's not mean "Look out! Here come's an 'S'!"

Re: Howto apply a patch/diff file

Posted: 09 Dec 2008 03:01
by orcaz
I get this error (using cygwin)