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

Re: SVNBOOK: svnlook history --show-ids

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-11-30 15:18:08 CET

Karl Heinz Marbaise wrote:
> Hi to all,
>
> I have found a little bug in the Subversion book (1.4 / 1.5):
>
> There is a part about explaining "svnlook history" with it's options and
> the following example output:
> -----
> $ svnlook history -r 20 /usr/local/svn/repos /tags/1.0 --show-ids
> REVISION PATH <ID>
> -------- ---------
> 19 /tags/1.0 <1.2.12>
> 17 /branches/1.0-rc2 <1.1.10>
> 16 /branches/1.0-rc2 <1.1.x>
> ----
>
> If i do such kind of examination on a repository via svnlook i got the following output:
> REVISION PFAD <ID>
> -------- ---------
> 4 / <0.0.r4/1630>
> 3 / <0.0.r3/524>
> 2 / <0.0.r2/429>
> 1 / <0.0.r1/3320144>
> 0 / <0.0.r0/17>
>
> The main difference here is the "/Number"
>
> I have checked it with SVN 1.2.3, SVN 1.4.2. both give the same results.

You are seeing FSFS-style ID numbers. The book example gives BDB-style
ones. That's all.

> BTW: What meaning has this magic number ?

See './subversion/libsvn_fs_fs/structure' in our source tree.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri Nov 30 15:18:54 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.