[Mono-list] How to create a patch/diff of mono?

Daniel Morgan danmorg@sc.rr.com
Fri, 27 Sep 2002 13:49:19 -0400


If you are going to make changes, make sure you have the latest changes from
cvs.

Checkout mcs from cvs.
See http://www.go-mono.com/anoncvs.html
on how to do this properly.  The mcs module in cvs contains both the C#
compiler and the class libraries, such as, System.Data.

export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
cvs login
cvs -z3 co mcs

Ripped from the www.go-mono.com web page:

Make your changes and test them to make sure they work properly.
Usually you will want to make a patch to contribute, and let other people
review it before commiting it. To obtain such a "patch", you type:

cd directory-you-want-to-diff
cvs -z3 diff -u > file.diff

The last step you can just attach the diff to an email and send it
to the mono-list@ximian.com
It may help to explain what the diff is.

For System.Data patches, Rodrigo Moya would be the best person to apply the
patch for you.

-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
Behalf Of Luis Fernandez
Sent: Friday, September 27, 2002 12:58 PM
To: mono-list@ximian.com
Subject: [Mono-list] How to create a patch/diff of mono?


Hi all,

I have started doing some coding in the System.Data namespace and I
would like to know how to create the patches/diffs so I can send them
over but I've never done this before.

I believe I need to use the diff utility from the command line, but I'm
not sure what options to specify other than the files to be compared so
that the output is "correct".

Thanks for your help.

Luifer




_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list