* hg changeset numbers vs hashes and the "public" xen http-hg trees
@ 2010-08-13 14:44 Dan Magenheimer
2010-08-13 14:51 ` Tim Deegan
2010-08-13 14:56 ` Ian Campbell
0 siblings, 2 replies; 4+ messages in thread
From: Dan Magenheimer @ 2010-08-13 14:44 UTC (permalink / raw)
To: xen-devel
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.
Is it possible that an update to the xensource hg-http server
might solve this problem?
Alternately, maybe it might be time to switch from mercurial
to git? :-) (start another thread to comment on that please)
Thanks,
Dan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hg changeset numbers vs hashes and the "public" xen http-hg trees
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
1 sibling, 1 reply; 4+ messages in thread
From: Tim Deegan @ 2010-08-13 14:51 UTC (permalink / raw)
To: Dan Magenheimer; +Cc: xen-devel@lists.xensource.com
At 15:44 +0100 on 13 Aug (1281714259), 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.
Works for me[tm]. I just entered fffedd3d70e1 in the search box and it
took me to that place in the log.
Cheers,
Tim.
--
Tim Deegan <Tim.Deegan@citrix.com>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: hg changeset numbers vs hashes and the "public" xen http-hg trees
2010-08-13 14:51 ` Tim Deegan
@ 2010-08-13 15:02 ` Dan Magenheimer
0 siblings, 0 replies; 4+ messages in thread
From: Dan Magenheimer @ 2010-08-13 15:02 UTC (permalink / raw)
To: Tim Deegan; +Cc: xen-devel
> > "tools/python: Remove non-ASCII characters introduced by
> fffedd3d70e1."
> >
> > is rather useless when using the http interface.
>
> Works for me[tm]. I just entered fffedd3d70e1 in the search box and it
> took me to that place in the log.
Oops, sorry for the noise. It now works for me also.
It failed when I tried it before I sent the message,
possibly due to a network hiccup (I'm on the road).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hg changeset numbers vs hashes and the "public" xen http-hg trees
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 14:56 ` Ian Campbell
1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2010-08-13 14:56 UTC (permalink / raw)
To: Dan Magenheimer; +Cc: xen-devel@lists.xensource.com
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-13 15:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.