Stupid cvsup questions

2003-12-15 Thread Ion-Mihai Tetcu
Hi,


I have 2 identical (copy/paste) ports-supfiles on two machines:

it# grep -v '#' /etc/ports-supfile
*default host=cvsup.ro.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all

one is produceing :
Updating collection ports-all/cvs  
 Edit ports/audio/abcmidi/Makefile  
 Edit ports/audio/abcmidi/distinfo
...

The other:
Updating collection ports-all/cvs
 Edit ports/mail/perdition/pkg-plist
 Edit ports/math/R-letter/Makefile
 SetAttrs ports/math/p5-Statistics-Distributions/Makefile,v
 SetAttrs ports/math/p5-Statistics-Distributions/distinfo,v
...

I run it like:
# cvsup -g /etc/ports-supfile on both machines.

The stupid question:
why on the second I have the `,v' suffix ?

Is there an env variable or something ?


-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stupid cvsup questions

2003-12-15 Thread Garance A Drosihn
At 11:41 PM +0200 12/15/03, Ion-Mihai Tetcu wrote:
Hi,

I have 2 identical (copy/paste) ports-supfiles on two machines:

it# grep -v '#' /etc/ports-supfile
*default host=cvsup.ro.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all


I run it like:
# cvsup -g /etc/ports-supfile on both machines.
The stupid question:
why on the second I have the `,v' suffix ?
Is there an env variable or something ?
I don't think so.  Did you try copying the file from one
machine to the other, and doing a direct diff?  It looks
like the 'tag=.' is being ignored for some reason.
I suspect you have tried that, but it's hard to imagine
why the two machines would be different.  I'd also note
that your grep command shouldn't ignore lines that have
a '#' that is anywhere in the line.  Only ignore lines
where there is nothing interesting before the '#'.  Eg:
   grep -v '^ *#'

I don't know what else to suggest.  From what you describe
in your message, both hosts should be getting the same set
of files.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stupid cvsup questions

2003-12-15 Thread Ion-Mihai Tetcu
On Mon, 15 Dec 2003 21:34:55 -0500
Garance A Drosihn [EMAIL PROTECTED] wrote:

 At 11:41 PM +0200 12/15/03, Ion-Mihai Tetcu wrote:
 Hi,
 
 
 I have 2 identical (copy/paste) ports-supfiles on two machines:
 
 it# grep -v '#' /etc/ports-supfile
 *default host=cvsup.ro.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 ports-all
 
 
 I run it like:
 # cvsup -g /etc/ports-supfile on both machines.
 
 The stupid question:
 why on the second I have the `,v' suffix ?
 
 Is there an env variable or something ?
 
 I don't think so.  Did you try copying the file from one
 machine to the other, and doing a direct diff? 

Copy /paste in ssh.

 It looks
 like the 'tag=.' is being ignored for some reason.
 
 I suspect you have tried that, but it's hard to imagine
 why the two machines would be different.  

One is 4.7 the other 5.1 but cvsup versions are the same.

 I'd also note
 that your grep command shouldn't ignore lines that have
 a '#' that is anywhere in the line.  Only ignore lines
 where there is nothing interesting before the '#'.  Eg:
 
 grep -v '^ *#'

Yup.

 I don't know what else to suggest.  From what you describe
 in your message, both hosts should be getting the same set
 of files.


-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Stupid cvsup questions

2003-12-15 Thread hugle
IMT On Mon, 15 Dec 2003 21:34:55 -0500
IMT Garance A Drosihn [EMAIL PROTECTED] wrote:

 At 11:41 PM +0200 12/15/03, Ion-Mihai Tetcu wrote:
 Hi,
 
 
 I have 2 identical (copy/paste) ports-supfiles on two machines:
 
 it# grep -v '#' /etc/ports-supfile
 *default host=cvsup.ro.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 ports-all

try this:
cat /usr/share/examples/cvsup/ports-supfile | egrep -v ^# | sed 
s/CHANGE_THIS/cvsup.ro/g  /home/ports-supfile
then run cvsup: cvsup -g -L 2 /home/ports-supfile

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]