From xemacs-m  Tue Sep 16 08:35:24 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA08411
	for <xemacs-beta@xemacs.org>; Tue, 16 Sep 1997 08:35:22 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.7/8.8.7/Debian/GNU) id GAA02723;
	Tue, 16 Sep 1997 06:35:07 -0700
To: XEmacs BETA <xemacs-beta@xemacs.org>
Subject: Re: CVS `cvs import -ko -I ! ...'
References: <19970914102758P.furutaka@Flux.tokai.jaeri.go.jp> <m2hgboacbg.fsf@haruspex.demon.co.uk> <m267s4pg9x.fsf@altair.xemacs.org> <87hgbocogo.fsf@bittersweet.inetarena.com> <by4t7lmp4r.fsf@midget.math.ethz.ch>
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: karlheg@inetarena.com (Karl M. Hegbloom)
Date: 16 Sep 1997 06:35:06 -0700
In-Reply-To: Jan Vroonhof's message of "16 Sep 1997 14:15:00 +0200"
Message-ID: <87yb4x2xh1.fsf_-_@bittersweet.inetarena.com>
Lines: 73
X-Mailer: Gnus v5.5/XEmacs 20.3(beta20) - "Tirana"

>>>>> "Jan" == Jan Vroonhof <vroonhof@math.ethz.ch> writes:

    Jan> How do you make sure you get all the binary files from etc in
    Jan> the repository?

 I found that they hadn't been getting checked in... but have fixed
that, and they are now.  Whether they'll merge correctly if any change
is a question.  I've got the 'COPY' option set... and I think that's
right.  Would those of you with CVS experience please look this over
and make sure I'm doing things right?  I have no other resource for
that.

 When I import, I use:

cd /usr/local/src/xemacs-source/xemacs-20/
cvs import -ko -I ! xemacs-20 XEmacs_20_3_DIST XEmacs_20_3_b20
cd .. ; rm -rf xemacs-20/ &
cvs rtag -b -r XEmacs_20_3_b20 XEmacs_20_3_LOCAL
cd /usr/local/src
cvs checkout -ko XEmacs_20_3_LOCAL xemacs-20
# ? is the `-ko' in the `checkout' command redundant?

 ... and, I have this in "CVSROOT/cvswrappers":

*.gif	-m 'COPY' -k 'b'
*.xpm	-m 'COPY' -k 'b'
*.Z	-m 'COPY' -k 'b'
*.gz	-m 'COPY' -k 'b'

*.nib	-m 'COPY' -k 'b'

 ... I think that the "-k 'b'" may be redundant for my personal setup,
since on Linux or Unix, with no line ending translation happening, the
`-ko' on the `import' commandline is sufficient to prevent the
binaries from getting mungled.  The `b' is meant for NT and other
systems where lines are terminated with "\r\n".  CVS converts to "\n"
endings when it stores text files, and back again (in the client) when
it retrieves them.

 The key is the `-I !', to wipe the cvsignore list clean, so that it
will pick up the "*.Z" files.

*Q*: Is the "-m 'COPY'" right?  It seems to be working, so far, but
     I've not imported a second time yet, since setting it up this
     way.

 When beta 21 is out, I'll do:
cd /usr/local/src/xemacs-source
cvs export -ko -r XEmacs_20_3_DIST xemacs-20
cd xemacs-20
patch -p1 < ../xemacs-20.3-b20-20.3-b21.patch
find -name '*.rej'
# clean, so...
cvs import -ko -I ! xemacs-20 XEmacs_20_3_DIST XEmacs_20_3_b21
cd /usr/local/src/xemacs-20
cvs update -ko -D -p -j XEmacs_20_3_b20 -j XEmacs_20_3_b21
# ... and now check for {M-< C-s conflict} and fix them.
# and again, is the `-ko' redundant?  Is it sticky?


 The CVS I am running now has support, from freeBSD, for read-only
repositories.  I will try and read up on that soon; just to learn how.
I have taken over maintainership of some Debian GNU/Linux software
packages, and am starting to learn how to use the `cvs-buildpackage'
scripts.  That's today's assignment.  :-)


-- 
mailto:karlheg@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1+hamm  Linux pre-2.0.31-9+select+QNX  AMD K5 PR-133
You tell me and we'll both know.

