Tortoise SVN: Inconsistent line ending style

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
ponty
Moderators
Moderators
Posts: 130
Joined: 07 May 2008, 20:22
Noob?: No
Location: Canada

Tortoise SVN: Inconsistent line ending style

#1 Post by ponty »

Technology wrote: Ok, it took me 1 hour of my time to find out how to solve this, so i'm posting it up here.
The problem can occur when trying to make a patch/commit. (its your text-editor's fault)

How to solve this problem?
First, look in which file the problem is occurring. (by elimination)
Then look in what part of that file the problem is occurring. (most likely in a part you've changed recently)
Then remove all line endings (ENTER's).
Redo all line endings.
Done.
Follow The template in Asking Questions or Be Trashed

Openkore Documentation Editor/Writer
~Servus Servorum~

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Tortoise SVN: Inconsistent line ending style

#2 Post by Technology »

A better way to solve this problem.

Open the file in notepad++
From the menu > Coding > Unix style (names may differ)
Save file.
Done.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

Locked