"svnversion -c" Prints the last changed version after the ":", e.g. compare these outputs:
C:\Users\Uwe Schindler\Projects\lucene\lucene_solr_4_3>svn info Path: . Working Copy Root Path: C:\Users\Uwe Schindler\Projects\lucene\lucene_solr_4_3 URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_3 Repository Root: https://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1470120 Node Kind: directory Schedule: normal Last Changed Author: simonw Last Changed Rev: 1470112 Last Changed Date: 2013-04-20 08:28:33 +0200 (Sa, 20 Apr 2013) C:\Users\Uwe Schindler\Projects\lucene\lucene_solr_4_3>svnversion -c 442281:1470112 I have no idea what the first number means, it must have something to do with the first rev this branch was created or whatever. "-c" means "last committed" according to docs. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Steve Rowe [mailto:sar...@gmail.com] > Sent: Saturday, April 20, 2013 9:11 AM > To: dev@lucene.apache.org > Subject: Re: [VOTE] Lucene/Solr 4.3 RC1 > > On Apr 19, 2013, at 6:16 PM, Uwe Schindler <u...@thetaphi.de> wrote: > > I think, maybe Smoketester should compare the revision from the URL in > the RC vote with the one recorded in the JAR files? Everything else makes no > sense as the: > > a) The SVN server always replies with the latest committed version on the > whole repository not the one of the newest file in the branch. > > I just noticed that 'svn info' provides the most recent revision for any given > file or directory, e.g. for the top level trunk dir: > > Path: . > Working Copy Root Path: /Users/sarowe/svn/lucene/dev/trunk > URL: https://svn.apache.org/repos/asf/lucene/dev/trunk > Repository Root: https://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1469936 > Node Kind: directory > Schedule: normal > Last Changed Author: rmuir > Last Changed Rev: 1469889 > Last Changed Date: 2013-04-19 11:20:04 -0400 (Fri, 19 Apr 2013) > > This command can be run recursively, and revisions collected, and the most > recent one found, e.g.: > > PROMPT$ svn info -R | grep 'Last Changed Rev:' | cut -d' ' -f4 | sort -n | > tail - > 1 > 1470088 > > The above command takes less than a second on my Macbook pro, and I > don't see any network activity, so this info must be all locally cached. > > Steve > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional > commands, e-mail: dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org