[Zope-dev] docs.zope.org

Marius Gedminas marius at gedmin.as
Thu Aug 5 09:59:58 EDT 2010


On Thu, Aug 05, 2010 at 08:35:20AM +0200, Jens Vagelpohl wrote:
> On 8/5/10 00:16 , Willi Langenberger wrote:
> > According to Jens Vagelpohl:
> >> before=$(svn info $ROOT | grep "^Last Changed Rev:" | cut -d " " -f 4)
> >> svn up -q $ROOT
> >> after=$(svn info $ROOT | grep "^Last Changed Rev:" | cut -d " " -f 4)
> > 
> > I think
> > 
> >   svn info $ROOT
> > 
> > doesnt give you the newest revision somewhere down the directory
> > tree. You have to use something like
> > 
> >   svn info -R $ROOT | grep "^Last Changed Rev:"| cut -d ""-f 4 | \
> >   sort -k1n,1 | tail -1
> > 
> > (note the "-R" flag for the "svn info" command).
> 
> Thanks Willi, I'll give that a try when I have a moment. I wouldn't be
> surprised if that was the case.

At first I thought that might've been the case, but when I went hunting
for examples among my checkouts, I couldn't find one!  E.g. the
zopetoolkit/doc/ tree had a last change made change to source/conf.py,
without touching anything in the parent directory, and svn info on doc/
listed Last Changed Rev correctly.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20100805/1a7e84b1/attachment.bin 


More information about the Zope-Dev mailing list