From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 2 21:46:18 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 540601065673 for ; Sun, 2 Sep 2012 21:46:18 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 179B38FC15 for ; Sun, 2 Sep 2012 21:46:17 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so7123538pbb.13 for ; Sun, 02 Sep 2012 14:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=pcWOZ04OnwvArKFtgbPrKyFjJAlHE3WWks9xqD0BXGA=; b=RgNpJ+BAEcQ1fEaZxwc59tqhdQl279ODDS49t+Oyi8A79N5kLFQw3TugRQKcXZ9orm XQlE+QQH1IFS2ue44xutj8hS01K2LZevILrJDJO62J6tBjcsobJB3GJwEFW+cxDr1Llv WXZC3iiO83tNTK5ffX4N7fJM53JZ/EbMHrHHg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=pcWOZ04OnwvArKFtgbPrKyFjJAlHE3WWks9xqD0BXGA=; b=W0U4YcGJipTeT9lG8PKrntwMK0PZVkHqWgka3FMbBnwJv2ezVSytu3t3F0CgIWif/3 b0dVPW6wh6R4NtwKg5Za7Fdm/k0XhaMIOq1UhVPJ2krXfx0f7pIX+UiNq+ipitRhK8nY j0x6+tc0X+PM0p6SOWTDLgiLQgzY8A49NyNOJJfYzX3q9qXU7EpWSS3UqrspLUrgk6xg McapKXdJeUE9Gx6p9eOXPjpzW0JZ/aFD04GZTEF7xq1uel8m+hiKkUgjUl63woZB02Jt 1ftmQOZ8nODE8pR0d7ogtgYD4FS2kFGUDIP4s/W3O2k1W15j5vt17XYwFM/UiFaY5chZ BKFQ== Received: by 10.68.224.73 with SMTP id ra9mr33035602pbc.85.1346622377412; Sun, 02 Sep 2012 14:46:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.67.4.227 with HTTP; Sun, 2 Sep 2012 14:45:47 -0700 (PDT) In-Reply-To: <20120902194027.GP1202@acme.spoerlein.net> References: <20546.21240.597457.60612@perdition.linnaean.org> <20546.39472.989246.974755@perdition.linnaean.org> <5042AD73.3060402@shatow.net> <20120902194027.GP1202@acme.spoerlein.net> From: Eitan Adler Date: Sun, 2 Sep 2012 17:45:47 -0400 Message-ID: To: Artem Belevich , Bryan Drewery , Garrett Cooper , freebsd-hackers@freebsd.org, Daniel Hagerty Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQla389HfaHhpvfDM1gGTY2ymJqPUOd0Mfu5yftunT9D7/W/N/Ddi9NlAijEmasyqI8bN3Qf Cc: 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 21:46:18 -0000 On 2 September 2012 15:40, Ulrich Sp=C3=B6rlein wrote: > On Sun, 2012-09-02 at 10:40:24 -0700, Artem Belevich wrote: >> 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/fa32f1f570be8b878b2965d95b7= dbdc37a953938 >> >> >> >> has a note that says: >> >> svn path=3D/head/; revision=3D239998 >> >> >> >> So, information is there, it's just not part of the log message itsel= f >> >> unless you add '--show-notes=3D*' >> >> 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. > > If you read the wiki page at http://wiki.freebsd.org/GitWorkflow > carefully, you'll note: > > Known Problems > > There's still a bug in the converter, that does not incrementally > export the svn revision to git commit id mappings to so called git > "notes", instead it clobbers them always. This makes it inconvenient > to go from svn revision to git commit hash or vice versa. > > > And this is something that is and will be fixed, it's just not high on > my priority list. If someone wants to help out, that would be great! Why isn't git.freebsd.org a straight "git svn clone" ? AFAIK that isn't bro= ken. --=20 Eitan Adler