User forums > Help

Tabs-to-Spaces

<< < (4/4)

takeshimiya:
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:

--- 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.

--- End quote ---

i use
--- Code: ---cvs diff -u
--- End code ---
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

--- Code: ---cvs diff -u
--- End code ---

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:

--- Code: ---#ifdef __cplusplus
extern "C"
  {
    PLUGIN_EXPORT cbPlugin* GetPlugin();
  };
#endif


--- End code ---

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?).

Navigation

[0] Message Index

[*] Previous page

Go to full version