I have make in cygwin on my machine.
I should have guess that I can do that with cvs.
Except with cvs checkout commtit trigger ?
Thanks.
"Pascal Bourguignon" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
>
> > From: "david d" <[EMAIL PROTECTED]>
> > Subject: How to manage the same version of the program with juste one
difference ?
> > Date: Mon, 10 Sep 2001 17:26:48 +0200
> > Organization: Infonie
> > To: [EMAIL PROTECTED]
> >
> > Hello,
> >
> > Mu problems :
> > I developp some internet site in local with php, with some parameters
into
> > config file like mysql server :
> >
> > $host = 'localhost'; -> // fot local test
> > $host = 'mysql.provider.fr'; -> // fot online site
> >
> > How can I maintained this difference beetween the site delveleopped
locally
> > and the other one online.
> >
> > I have to make some patch that I applied when I d like to publish new
site ?
> >
> > The method, : I have a config file with two revision, n make the patch
> > beetween these, or I retrieve on of the two file judging from wath type
of
> > site I'd like ?
> > I have to tag version of the site the patched and the other one ?
> >
> > What can I do for this problem ?
>
> You can (should!) use make.
>
> ----------------(file-x.source)---------------
> $host = 'HOSTFDQN';
> ----------------------------------------------
>
> ----------------(Makefile)--------------------
> test:
> sed -e 's/HOSTFDQN/localhost/g' < file-x.source > file-x
> $(MAKE) $(MFLAGS) all
>
> production:
> sed -e 's/HOSTFDQN/mysql.provider.fr/g' < file-x.source > file-x
> $(MAKE) $(MFLAGS) all
>
> all:
> @echo Whatever...
> ----------------------------------------------
>
> With only file-x.source in CVS, not file-x.
>
>
> > How can I make a patch in a windows machine, I don' have patch and diff
> > command.
>
> The only command you'll ever need on a MS-Windows machine is: ftp!
> (FTP.EXE actually, on those systems).
>
> Just transfer the files to a unix machine where you can work, and
> transfer the resulting files back to the useless one.
>
>
> Actually a better scheme would be to install a ftp server on the
> MS-Windows machine to avoid completely touching it, and add commands
> in the Makefile to do the transfers automatically.
>
> --
> __Pascal_Bourguignon__ (o_ Software patents are endangering
> () ASCII ribbon against html email //\ the computer industry all around
> /\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
> 1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
> N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
> DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
> ------END GEEK CODE BLOCK------
>
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs