You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2007/11/30 10:53:32 UTC

SVNBOOK: svnlook history --show-ids

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.

BTW: What meaning has this magic number ?

Kind regards

-- 
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                     USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: SVNBOOK: svnlook history --show-ids

Posted by "C. Michael Pilato" <cm...@collab.net>.
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 <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand