Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Re: CVS: sourcemage/sorcery/usr/sbin skry,1.2,1.3

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
  • To: Nick Jennings <nkj AT namodn.com>
  • Cc: nkj AT cvs.sourcemage.org, SMGL Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] Re: CVS: sourcemage/sorcery/usr/sbin skry,1.2,1.3
  • Date: Sun, 11 Aug 2002 19:29:10 -0400

Nick Jennings wrote:

2)am I wrong or this diff doesn't use `-u' option? I'd really prefer `-uN' to use unified format and paste new lines into the siff in their entirety
How's this?
Thanks!


Well. I just changed the diff command to be a bit different. but
in short - the cvs diff options are not the same as the command line
diff options, so it's not as easy to change. Let me know what
you think of the new format though.


cvs's diff supports both:
$ cvs --help diff
Usage: cvs diff [-lR] [-k kopt] [format_options]
...
format_options:
...
-u -U NUM --unified[=NUM] Output NUM (default 2) lines of unified context.
...
-N --new-file Treat absent files as empty.
...
Thanks!





Archive powered by MHonArc 2.6.24.

Top of Page