Re: HG repository does not compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Helmut Auer wrote:


Hmmm... are you sure you are retrieving tarball from the latest version?
It is possible, with hg, to retrieve a tarball of any version, depending
on what changeset are you generating the tarball.

Are there different ways to get the tarball via the web ?

I do it that way:

   DT=$(date +%y%m%d)
   TMP_FILE="/tmp/~v4l-dvb"
   rm $TMP_FILE > /dev/null 2>&1
wget -O $TMP_FILE "http://linuxtv.org/hg/v4l-dvb?cmd=summary;style=gitweb"; NEXT_URL=$(cat $TMP_FILE |sed -e "s/</\n/g" | grep -m 1 "?cmd=manifest;" | cut -f 2 -d "\"")
   rm $TMP_FILE > /dev/null 2>&1
   wget -O $TMP_FILE "http://linuxtv.org/hg/v4l-dvb$NEXT_URL";
NEXT_URL=$(cat $TMP_FILE |sed -e "s/</\n/g" |grep -m 1 "type=bz2" | cut -f 2 -d "\"")
   TARFILE="/tmp/v4l-dvb_$DT.tar.bz2"
   wget -O $TARFILE "http://linuxtv.org/hg/v4l-dvb$NEXT_URL";


I must be missing something in this discussion. The above code is a very complicated way to say:

hg clone http://linuxtv.org/hg/v4l-dvb

Why make your life so complicated?
Regards
Ian


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux