[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: COMMITTED and subdir recursion

From: <raphel.garcia-suarez_at_hexaflux.com>
Date: 2003-01-21 10:56:48 CET

andreas.koenig@anima.de (Andreas J. Koenig) wrote:
  On 20 Jan 2003 14:51:09 -0600, Karl Fogel kfogel@newton.ch.collab.net said:
 
    Rafael Garcia-Suarez rgarciasuarez@free.fr writes:
   The real-life problem is to answer this question : What is the
   last revision in which something under the foo/ directory has been modified.
   (in other words, a branch-local HEAD) (I haven't tried svnversion yet.)
 
    Then just use HEAD, that does what you want.
 
 It doesn't if you think of branches. HEAD refers to the whole
 repository. Try 'svn log -r HEAD' in a branch and you get something
 like
 
   subversion/libsvn_ra_dav/util.c:358: (apr_err=175002)
   svn: RA layer request failed
   svn: REPORT request failed on /svn/perl/trunk
   subversion/libsvn_ra_dav/util.c:343: (apr_err=175002)
   svn: The REPORT request returned invalid XML in the response: XML parse error at line 1: xmlParseStartTag: invalid element name
   .. (/svn/perl/trunk)

Regression ? I get simply an empty log : (0.16.0, hadn't time to upgrade yet)

    $ svn log -r HEAD
    ------------------------------------------------------------------------

 Currently I have the impression, to get the last revision within the
 current branch you need something like
 
 svn info -R | grep '^Last Changed Rev' | sed -e 's/.*: //' | sort -nr | head -1

Gee, Andreas, learn awk or something ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:03:34 2006

This is an archived mail posted to the Subversion Dev mailing list.