News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Tabs-to-Spaces

Started by jweathers, August 07, 2005, 07:28:27 AM

Previous topic - Next topic

takeshimiya

#15
About the TortoiseCVS Make Patch function, I read somewhere that it's NOT recommended to use because it doesn't accepts diff -u (unified format) parameter, even if you specify to do so.
BTW, I don't tried to see if it's true or has changed.

tiwag

#16
Quote from: takeshimiya on August 10, 2005, 01:52:56 AM
About the TortoiseCVS Make Patch function, I read somewhere that it's NOT recommended to use because it doesn't accepts diff -u (unified format) parameter, even if you specify to do so.
BTW, I don't tried to see if it's true or has changed.

i use cvs diff -u evey day, but also encountered some problems with Tortoise CVS

my solution for this is simple:
i installed WinCVS, which installes a separate copy of
"Concurrent Versions System (CVSNT) 2.0.51d (client/server)"
be sure to have it in your path settings and you can use from the commandline
cvs diff -u

that works great parallel to TortoiseCVS, which comes with another copy of CVSNT

thomas

Coming back to #4 three weeks later... :)

After removing stale spaces from 6 header files for the 3rd time today, I wanted to know at least what made it go wrong.
This is one out of a several constellations (all related to preprocessor directives) which provoke the no-newline-at-end-of-file error:
#ifdef __cplusplus
extern "C"
  {
    PLUGIN_EXPORT cbPlugin* GetPlugin();
  };
#endif



Another strange effect is duplication of the last line in the file if you additionally wrap the above into a standard multiple-inclusion protection. Funnily, that phenomenon does not occur if the curly braces are wrapped into individual #ifdefs.
That, however, I think is a known bug which has already been fixed in either HEAD or 1.0 (and merged?).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."