From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 2 17:40:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CC531065688 for ; Sun, 2 Sep 2012 17:40:26 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id CBC128FC16 for ; Sun, 2 Sep 2012 17:40:25 +0000 (UTC) Received: by lage12 with SMTP id e12so3896832lag.13 for ; Sun, 02 Sep 2012 10:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3g65z7nox+ugspXvl49Gzx9qsLXQH3vJgNFA++9OEgQ=; b=KAC0IKHjSIP1mEve01TZaPX4nljO2QrlkRd4D9WPJJFsJ3bAf8UI9P0hDPLcGb+AWj QCGKG2Hm5PmuKf+FnefmSGVP+AY0E2W/obJbdQMlp2QuZg8J3asovYfgrie1m/QDd0H2 u3CT56AIui5+DBV6OriVk3YOJEipnwCeCiGND6x+bxHWfJecPKlCTlmWRMUgB5rybj+9 4nvbe/cq5Fbh39X4Z10E7ICThOFtRuKVvqLKBccuktMsmd4+T95rFCUz7aKtFhvygHH0 CTQfcZtKIScLQcck7hksdR0+xdPZVDm1YcStGK7IYjOQNRuZaqsnjmBaNAPlM7lfRJv6 PgIA== MIME-Version: 1.0 Received: by 10.152.148.195 with SMTP id tu3mr11639463lab.16.1346607624592; Sun, 02 Sep 2012 10:40:24 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.112.43.40 with HTTP; Sun, 2 Sep 2012 10:40:24 -0700 (PDT) In-Reply-To: References: <20546.21240.597457.60612@perdition.linnaean.org> <20546.39472.989246.974755@perdition.linnaean.org> <5042AD73.3060402@shatow.net> Date: Sun, 2 Sep 2012 10:40:24 -0700 X-Google-Sender-Auth: N78Jw3Ji0KxFmk7vXhPNXrOGDc0 Message-ID: From: Artem Belevich To: Bryan Drewery Content-Type: text/plain; charset=ISO-8859-1 Cc: Garrett Cooper , freebsd-hackers@freebsd.org, Daniel Hagerty Subject: Re: freebsd.org git repositories and svn ids X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 17:40:26 -0000 On Sat, Sep 1, 2012 at 10:03 PM, Artem Belevich wrote: > On Sat, Sep 1, 2012 at 9:29 PM, Artem Belevich wrote: >> 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=*' Scratch that. SVN metadata in github freebsd repo is very inconsistent. head has git-svn-id but no notes (at least I didn't see then on few randomly picked commits). branches have no git-svn-id, but some commits have notes with SVN info attached to them. The bottom line is that for many revisions it will indeed be very hard to figure out corresponding commit in SVN. I guess I'll be sticking with gitorious for the time being. --Artem