From: "Jan Beulich" Subject: Re: Moving xen*.hg to git Date: Thu, 21 Feb 2013 15:51:36 +0000 Message-ID: <5126509802000078000C0074@nat28.tlf.novell.com> References: <20763.51353.91324.851766@mariner.uk.xensource.com> <20772.60284.798388.635292@mariner.uk.xensource.com> <5126437D02000078000C0006@nat28.tlf.novell.com> <1361459927.26546.59.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1361459927.26546.59.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Anthony Perard , "Keir (Xen.org)" , "Tim (Xen.org)" , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 21.02.13 at 16:18, Ian Campbell wrote: > On Thu, 2013-02-21 at 14:55 +0000, Jan Beulich wrote: >> >>> On 20.02.13 at 16:27, Ian Jackson wrote: >> > If any committer needs help getting git to work please feel free to >> > ask. git has many advantages but its user interface has received very >> > mixed reviews. We appreciate that you might need handholding. So if >> > you get confused, or into trouble, do consult. >> >> So one thing I found very handy with hg was that there was a >> single line history with easy to look at changeset numbers. Is there >> any way to achieve the same with git? I'm asking particularly in the >> context of backporting: In order to pick changes from unstable (now >> master), so far I simply scanned the history, tracking (on a sheet of >> paper) at which c/s I last left off. > > Something like git log --oneline? > > You can also git log --pretty=format:%... The question is whether these, just like the web interface, sort by commit time rather than commit order. And ideally it would be doable both locally and from the web interface, yet I don't see the web interface having any way to control how it sorts its output. > Where there are various available %foo described in the manpage. > > git doesn't really have a concept of the shorter sequential numbers > which mercurial has. The closest I can think of is the sort of thing > which git describe outputs. Again, it depends how the number produced here gets calculated, i.e. whether it remains stable over the lifetime of a tree regardless of what commits get pulled (and merges get done). Jan