Why does `svn info` say 16110, but `ruby -v` says 15824? $ svn info Path: . URL: http://svn.ruby-lang.org/repos/ruby/trunk Repository Root: http://svn.ruby-lang.org/repos/ruby Repository UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e Revision: 16110 Node Kind: directory Schedule: normal Last Changed Author: knu Last Changed Rev: 16107 Last Changed Date: 2008-04-20 05:01:27 -0700 (Sun, 20 Apr 2008) $ ruby19svn -v ruby 1.9.0 (2008-04-20 revision 15824) [i686-linux]
on 21.04.2008 08:53
on 21.04.2008 09:05
Hi,
In message "Re: revision number in ruby -v (1.9)"
on Mon, 21 Apr 2008 15:52:55 +0900, Joel VanderWerf
<vjoel@path.berkeley.edu> writes:
|Why does `svn info` say 16110, but `ruby -v` says 15824?
Perhaps the latest revision does not belong to trunk.
matz.
on 21.04.2008 09:12
Hello,
In message "revision number in ruby -v (1.9)"
on Apr.21,2008 15:52:55, <vjoel@path.berkeley.edu> wrote:
> Why does `svn info` say 16110, but `ruby -v` says 15824?
run ``make up''.
Regards,
on 21.04.2008 09:18
Yukihiro Matsumoto wrote: > Hi, > > In message "Re: revision number in ruby -v (1.9)" > on Mon, 21 Apr 2008 15:52:55 +0900, Joel VanderWerf <vjoel@path.berkeley.edu> writes: > > |Why does `svn info` say 16110, but `ruby -v` says 15824? > > Perhaps the latest revision does not belong to trunk. Ok. Makes sense. What's puzzling me is that when I updated 1.9 recently, the reported revision didn't change, even though it seemed like a lot of files got updated and built. Before: $ ruby19svn -v ruby 1.9.0 (2008-03-21 revision 15824) [i686-linux] After: $ ruby19svn -v ruby 1.9.0 (2008-04-20 revision 15824) [i686-linux] So, is the date more important than svn revision for determining what interpreter version is running?
on 21.04.2008 09:19
U.Nakamura wrote: > Hello, > > In message "revision number in ruby -v (1.9)" > on Apr.21,2008 15:52:55, <vjoel@path.berkeley.edu> wrote: >> Why does `svn info` say 16110, but `ruby -v` says 15824? > > run ``make up''. Ah, thanks! Please ignore my other question.
on 21.04.2008 15:46
Joel VanderWerf wrote: > Ok. Makes sense. What's puzzling me is that when I updated 1.9 recently, > the reported revision didn't change, even though it seemed like a lot of > files got updated and built. I think the "how" has been answered but not the why. Generally revision numbers are kept in a file that's included in the build and which has tags in it that SVN updates. Updating other files does not change the revision number in that file, so even if lots of files change the -v revision number won't be different. I guess "make up" forces that file to contain the latest rev number. - Charlie