freebsd.org git repositories and svn ids

Artem Belevich art at freebsd.org
Sun Sep 2 04:29:41 UTC 2012


On Sat, Sep 1, 2012 at 5:50 PM, Bryan Drewery <bryan at shatow.net> wrote:
>>>     More generally tho, I'm curious how one is supposed to use the
>>> seemingly more official repositories without this bit of data; I'd
>>> expect I must be missing some critical clue.

I've just noticed that freebsd commits on github come with a git note.
If you look past the diff of the commit, you will see a note that
contains path and revision number.

For example:
https://github.com/freebsd/freebsd/commit/fa32f1f570be8b878b2965d95b7dbdc37a953938

has a note that says:
svn path=/head/; revision=239998

So, information is there, it's just not part of the log message itself
unless you add '--show-notes=*'

While I'm sort of got used to git-svn-id being part of committed log
messages, keeping conversion metadata separate from the content does
make sense.

--Artem


More information about the freebsd-hackers mailing list