From: Ian Campbell <Ian.Campbell@citrix.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: hg changeset numbers vs hashes and the "public" xen http-hg trees
Date: Fri, 13 Aug 2010 15:56:57 +0100 [thread overview]
Message-ID: <1281711417.3170.723.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <92bc5518-dfad-4e97-831b-d4811db07f0b@default>
On Fri, 2010-08-13 at 15:44 +0100, Dan Magenheimer wrote:
> I've started to notice developers making more use
> of the 48-bit "hash" (forgot the proper term) identifier
> for changesets instead of changeset number. While
> I understand the reasons (specifically that the
> 48-bit has is unique across all trees but the changeset
> number is not... and that more developers are experienced
> now with git where the hash is exclusively used), sadly
> the "public" http representation of Xen trees available
> through:
>
> http://xenbits.xensource.com/xen-unstable.hg and friends
>
> which I browse regularly does not allow searching by hash,
> so a cset comment such as:
>
> "tools/python: Remove non-ASCII characters introduced by fffedd3d70e1."
>
> is rather useless when using the http interface.
Typing "fffedd3d70e1" in the search box at
http://xenbits.xensource.com/xen-unstable.hg takes me to
http://xenbits.xensource.com/xen-unstable.hg?rev=fffedd3d70e1 which has
21967:fffedd3d70e1 as the first listed entry and as far as I know this
has always worked for me (I use it all the time).
It might be one click extra than you were expecting but it is certainly
there.
Even if not then clicking on the first entry on
http://xenbits.xensource.com/xen-unstable.hg then editing the URL to
change the hash is not that hard. In fact if you use it regularly then
an alias can usually be setup in most browsers to take you straight to
the relevant page if you type e.g. "xen fffedd3d70e1" in the address
bar.
Note that the cset number is not stable even within
http://xenbits.xensource.com/xen-unstable.hg -- if a merge changeset is
pushed to this tree I believe it is possible that changesets already
their could change their numbers.
Ian.
prev parent reply other threads:[~2010-08-13 14:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-13 14:44 hg changeset numbers vs hashes and the "public" xen http-hg trees Dan Magenheimer
2010-08-13 14:51 ` Tim Deegan
2010-08-13 15:02 ` Dan Magenheimer
2010-08-13 14:56 ` Ian Campbell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1281711417.3170.723.camel@zakaz.uk.xensource.com \
--to=ian.campbell@citrix.com \
--cc=dan.magenheimer@oracle.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.