Problem making patch!!!

IVAN DE JESUS DERAS TABORA i.deras at unitec.edu
Thu Aug 7 15:06:22 CEST 2003



----- Original Message -----
From: Richard Lärkäng <nouseforaname at home.se>
Date: Thursday, August 7, 2003 1:34 pm
Subject: Re: Problem making patch!!!

> IVAN wrote:
> 
> >I was tried to make a patch for the changes i was made
> >for wt3 win32 port, for this i did the following:
> >
> >cvs login 
> >
> >Enter to qt-src-dir/kernel and exec the following
> >command:
> >
> >cvs diff *_win.cpp > patch.diff
> >
> >I put '*_win.cpp' because that's the only files i was
> >modified (not all, of course), but the resulting patch
> >is very big about 1MB, that's doesn't make sense
> >because there are so much changes!!! And then i was
> >opened the resulting patch.diff file, and surprise:
> >All the lines apllication_win.cpp from the server
> >appear with '<' , and all the lines from my local
> >application_win.cpp appear with '>', this look like if
> >all the had changed but that's not true!!!
> >
> >And then did i make something bad??? Missing some flag!!!
> >  
> >
> Hmm, does it make a difference if you do a cvs up before?
> 
> cvs diff -ub > patch.diff
> Should be what you want btw,
> -b makes it ignore whitespace changes (could that be it?)
> -u makes the patch much more readable
> And as you haven't changed any other files you don't need
> *_win.cpp (I guess it could be a little bit faster, bit I don't
> think it matters)

Yep, the objetive of putting '*_win.cpp' is to gain speed, because i 
use phone conection!!!!!! i'll try later the commands with that flags 
in my home!!!

> 
> Richard
> 
> 
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin at mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde-cygwin
> 



More information about the kde-cygwin mailing list