HEADS UP: FreeBSD git mirrors demoted to beta status, need your help

Ulrich Spörlein uqs at FreeBSD.org
Sun Dec 16 09:44:46 UTC 2012


On Sat, 2012-12-15 at 16:44:52 -0800, Alfred Perlstein wrote:
> 
> 
> On Dec 15, 2012, at 1:16 PM, Ulrich Spörlein <uqs at FreeBSD.org> wrote:
> > 
> > Ok, scrap that, I have too many copies of the conversion lying around
> > and got confused.
> > 
> > I'd like to thank all who reported in with hashes of their conversion
> > run and will make sure all is solid tomorrow.
> > 
> 
> Thanks. I am wondering will the new repo include svn revision numbers in the git commit logs?
> 
> Thank you. 

Not in the logs, they are stored in git notes. If you don't have em, run
the following:

git config add remote.origin.fetch '+refs/notes/*:refs/notes/*'
git fetch

The git log will then produce output like this:

commit c3c1c81918dd701cfecb370f591746bacc907e4d
Author: rwatson <rwatson at FreeBSD.org>
Date:   Sat Dec 15 15:21:09 2012 +0000

    Four .c files from OpenBSM are used, in modified form, by the kernel to
    implement the BSM audit trail format.  Rename the kernel versions of the
    files to match the userspace filenames so that it's easier to work out
    what they correspond to, and therefore ensure they are kept in-sync.
    
    Obtained from:      TrustedBSD Project

Notes:
    svn path=/head/; revision=244267



You can search for a specific revision like this:

% git log --grep="revision=234567"
commit 0264d1ea29a4b35914a658ab01ece38e3637f84f
Author: delphij <delphij at FreeBSD.org>
Date:   Sun Apr 22 07:51:49 2012 +0000

     - Use quote when tab is used;
     - Follow the same macros used in device driver manual pages.

Notes:
    svn path=/head/; revision=234567

hth
Uli


More information about the freebsd-current mailing list