[Ffmpeg-devel] Problem building from snapshots

Diego Biurrun diego
Thu Apr 19 17:17:15 CEST 2007


On Thu, Apr 19, 2007 at 05:08:19PM +0200, Michel Bardiaux wrote:
> Sibnath GHOSH wrote:
> >I have the following line in version.sh. From which file is the Revision
> >read.
> >
> >svn_revision=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision |
> >cut -d' ' -f2`
> 
> The above gets the revision using svn itself. But in case svn is not 
> installed on that machine (eg if it NFS-mounts a disk from the machine 
> used for the svn update)
> 
> >test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries |
> >\
> >                                    cut -d '"' -f2 2> /dev/null`
> 
> The above tries to guess revision from existing svn metadata. But in 
> case the client used does not leave metadata similar to the Linux 
> client

The problem is that this works only on pre-1.4 Subversion clients as the
metadata was restructured with version 1.4.

Diego




More information about the ffmpeg-devel mailing list