[MPlayer-cvslog] r18595 - trunk/version.sh
Ivo
ivop at euronet.nl
Tue Jun 6 16:02:08 CEST 2006
On Tuesday 06 June 2006 15:43, Diego Biurrun wrote:
> On Tue, Jun 06, 2006 at 03:36:22PM +0200, Ivo wrote:
> > On Tuesday 06 June 2006 14:45, Diego Biurrun wrote:
> > > I tested on OS X 10.4. The only possible problem I see is 'head -n
> > > 1' vs 'head -1'.
> >
> > How about:
> >
> > revision=r`grep -m 1 committed-rev .svn/entries | cut -d '"' -f 2
> > 2>/dev/null`
>
> Does this work with non-GNU grep? If it does, go right ahead and
> commit.
Hmm, it does not. I don't have access to any non-gnu grep atm, but I checked
the manpage of Solaris and it doesn't support the -m option.
This should work everywhere though:
revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2
2>/dev/null`
Can I use my old CVS user/pass combination for Subversion?
--Ivo
More information about the MPlayer-cvslog
mailing list