On Sun, 17 Oct 2010 07:59:46 +0200 (CEST)
Vincent Torri <vto...@univ-evry.fr> wrote:

> 
> Hey,
> 
> instead of:
> 
> (svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk
> -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'
> 
> why not using:
> 
> svn info |grep Revision | sed 's/Revision: //g'
>

Or maybe:

svn info -r HEAD | awk '/Revision/{print $2;}'

Requesting the HEAD revision is required to get the same result from
svn info all over the repository.

Cheers,
Ralph

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to