From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sverre Rabbelier Subject: Re: GSoC 2010 Date: Fri, 12 Feb 2010 17:41:21 +0100 Message-ID: References: <20100212080620.GA31719@dcvr.yhbt.net> <20100212091635.GA22942@glandium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Johannes Schindelin , Mike Hommey , Eric Wong , Jeff King , "Shawn O. Pearce" , Git List To: Daniel Barkalow X-From: git-owner@vger.kernel.org Fri Feb 12 17:41:48 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfyaR-0007ZC-L4 for gcvg-git-2@lo.gmane.org; Fri, 12 Feb 2010 17:41:48 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757179Ab0BLQln (ORCPT ); Fri, 12 Feb 2010 11:41:43 -0500 Received: from mail-gx0-f224.google.com ([209.85.217.224]:63575 "EHLO mail-gx0-f224.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756930Ab0BLQlm (ORCPT ); Fri, 12 Feb 2010 11:41:42 -0500 Received: by gxk24 with SMTP id 24so2552486gxk.1 for ; Fri, 12 Feb 2010 08:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=3w7V8FXxT879vS7U0gpB7DmS/MftGpFKw+dsai3NdAU=; b=VHXOKgqCT3rLhyma91+5kkQ3nP8+vcw9oA6oTxFAfyYoPkBlKbHP7yaC2+e9rd3Jdn v4A4oJiVZO0hRQ9Eb3acW39um8PBE4TzVxumvW6lr4m4oVdVYOtKU6hO+nJ65PV+fsYk SCnpXn2woWGEpYSZGuAuMrLxzEJiINfyEUGTY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=unHZq+3hSIR24lA0+6r4Q1YU4PJz624+Ty67N/AtQAjlRzqi+pyZJCS3g4u0jDNzbW 5fho3yMowyjBwQ1L+Xc9LxzGHFYE+wv3CKElr/bshYz/1mccXMt8khC4TsjuKJ6OBKrC RalLW+QoVsO4+w0bu4QKQsDEoTEHYfmt+BS1c= Received: by 10.142.250.22 with SMTP id x22mr1074801wfh.222.1265992901108; Fri, 12 Feb 2010 08:41:41 -0800 (PST) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Heya, On Fri, Feb 12, 2010 at 17:10, Daniel Barkalow wrote: > Also note that the current helper protocol is definitely insufficient to > replace git-svn ('export' isn't actually specified, although I think > everyone who guesses how it works guesses the same thing), I've finally started implementing this yesterday. > and the > transport code needs to be extended to handle the "dcommit" situation > (when you push a commit, the state that you see on the remote changes > based on the semantics of what you sent, but it does not change to have > the same hash as what you pushed). So basically what you want to do is after you push, automagically do a 'git reset --hard @{u}'? That could be handled by a specific response from the helper to the 'export'/'push' command, perhaps it could list which refs need to be updated? -- Cheers, Sverre Rabbelier