From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Webb Subject: Re: [PATCH v5 00/14] New remote-hg helper Date: Tue, 30 Oct 2012 18:16:05 +0000 Message-ID: <20121030181604.GY26850@arachsys.com> References: <1351571736-4682-1-git-send-email-felipe.contreras@gmail.com> <20121030102526.GN4891@arachsys.com> <20121030180021.GX26850@arachsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org, Junio C Hamano , Sverre Rabbelier , Johannes Schindelin , Ilari Liusvaara , Daniel Barkalow , Jeff King , Michael J Gruber To: Felipe Contreras X-From: git-owner@vger.kernel.org Tue Oct 30 19:16:47 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TTGMi-0005YL-4M for gcvg-git-2@plane.gmane.org; Tue, 30 Oct 2012 19:16:40 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965224Ab2J3SQ1 (ORCPT ); Tue, 30 Oct 2012 14:16:27 -0400 Received: from alpha.arachsys.com ([91.203.57.7]:54586 "EHLO alpha.arachsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934079Ab2J3SQJ (ORCPT ); Tue, 30 Oct 2012 14:16:09 -0400 Received: from [81.2.114.212] (helo=arachsys.com) by alpha.arachsys.com with esmtpa (Exim 4.80) (envelope-from ) id 1TTGMB-000778-T0; Tue, 30 Oct 2012 18:16:08 +0000 Content-Disposition: inline In-Reply-To: <20121030180021.GX26850@arachsys.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Chris Webb writes: > A common idiom when working with hg bookmarks is to completely ignore the > (not very useful) hg branches (i.e. all commits are on the default hg > branch) and have a bookmark for each line of development used exactly as a > git branch would be. > > On such a repository, at the moment you will always get a warning about > multiple heads on branches/default, even though you actually don't care > about branches/default (and would prefer it not to exist) and just want the > branches coming from the bookmarks. Something which you can do with hg clone is hg clone http://my.repo/foo#master to clone just the history behind the master bookmark from foo. This works nicely with git-remote-hg too: git clone hg::http://my.repo/foo#master gives you just origin/master and origin/branches/default, not origin/otherbookmark. This is a case where it would be particularly nice to be able to kill origin/branches/default and just keep the identical origin/master. Cheers, Chris.