[haiku-development] Re: svn diff/patch problem (not Haiku releated)
- From: Stephan Assmus <superstippi@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sun, 28 Oct 2007 14:47:32 +0100
Fredrik Modéen wrote (2007-10-28, 12:08:34 [+0100]):
>
> > Hi,
> >
> > Fredrik Modéen wrote (2007-10-27, 12:01:52 [+0200]):
> >> Hi
> >> I know this list are for Haiku development but I don't know where to
> >> ask other developer question so I hope you don't mind me asking them
> >> here.
> >
> > IMHO, that's just fine. :-)
> >
> >> My Problem are that a diff I made from changes in Transmission don't
> >> work
> >> correct when I patch an existing branch. all my Changed files are
> >> added in the root of Transmission_0.8x not under beos where they
> >> should be.
> >
> > You need to use "patch -p0" if you are in the same folder as from where
> > the
> > patch was generated. Is this what you mean?
> thanks that did it but I still have some rejections, but I did a package
> now and uploaded it to my page so other can continue if they like :)
> http://www.modeen.se/Transmission/Transmission_0.82.zip
Indeed, I have had such problems with the GLTeapot diff you posted earlier.
The patch process would sometimes not delete lines, and delete others
instead. Personally, I don't know much about diff and patch, only learned
the little I know very recently. My best experience is with using "diff
-ur" to create patches (produces the same format as "svn -diff"?), but
others might want to share their insights. The problem might also be that
different developers have different environments, I am using BeOS R5 almost
100% of the time, so what I said might only apply to that environment.
Best regards,
-Stephan
- References:
- [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- From: Stephan Assmus
- [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- From: Fredrik Modéen
Other related posts:
- » [haiku-development] svn diff/patch problem (not Haiku releated)
- » [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- » [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- » [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- From: Stephan Assmus
- [haiku-development] Re: svn diff/patch problem (not Haiku releated)
- From: Fredrik Modéen