Understanding and navigating the repositories on hg.openjdk.java.net

Kelly O'Hair kelly.ohair at oracle.com
Tue Apr 5 11:52:41 PDT 2011

On Apr 4, 2011, at 10:12 PM, David Holmes wrote:

> Hi Kelly,
> Kelly O'Hair said the following on 04/05/11 14:47:
>> The time on a changeset is when the changeset was created, doesn't have much to do with the
>> 'push' event.
> So if I undertand this right the timestamp is almost completely useless. For example, I could create a changeset today, wait three weeks, do a merge (the merge changset would have todays timestamp), then push and I would see the merge changeset listed on the tip page and the real changset would be where? Pages back depending on how many other changsets were done in between ???

The timestamp is actually quite valuable, but I can see that it may appear useless to most people.

But the order you see the changesets, e.g. http://hg.openjdk.java.net/jdk7/jdk7/jdk/shortlog
is the order that they were pushed in.

When I look for a changeset, I use the search box in the upper right, with a username, bugid, or filename.
Otherwise I scan the shortlog.

>> The changesets represent a graph from the rev 0 changeset to the tip, but the changesets also have an order
>> as to when they showed up in a repository, the decimal number is the local order that a changeset first appeared
>> in a repository, I think the -60 refers to that order. But that local order could be different for each repository
>> so be careful with that local number.
> So there's no way to discern the tree from the flat listing on the webpage. So basically all I can do is hunt through all the listings (or search) for my changset.

Right now, without the "Graph" option, yes.


>> The hg book at http://hgbook.red-bean.com/read/ might provide more help.
> No, I tried there first - there's no mention that I can see of the web interface.
>> When we upgrade the Mercurial server to a newer version, we will probably get the "Graph" feature.
>> If you have a newer Mercurial on your machine, you can try doing a 'hg serve -v' and browse your
>> own repository, the Graph might help.
> Thanks I'll see if I can give that try ... just got to dredge up the "how to install hg on solaris x86" emails ...
> David
>> -kto
>> On Apr 4, 2011, at 9:01 PM, David Holmes wrote:
>>> Is there any kind of manual/user-guide that describes the mercurial web interface that we see on hg.openjdk.java.net?
>>> I'm finding the interface totally bemusing. I'm trying to see, for example, whether a bunch of fixes I put into jdk7/tl/jdk have made their way into jdk7/jdk7/jdk - should be simple right? ;-) But I can't even find my fixes where I would expect to find them. For example, if you look at:
>>> http://hg.openjdk.java.net/jdk7/tl/jdk/shortlog
>>> there are changesets listed from 8 hours ago through to 5 weeks ago (though the order is also bemusing). Yet my last push was on March 30 and I can't see it listed on this page. Yet if I click on the "-60" link (what the heck does that mean anyway???) I find my last push on that page - a page which contains changesets from 4 days ago through to 5 weeks ago. So whatever ordering is being used here it sure isn't anything intuitively obvious.
>>> Can someone enlighten me please or point me to the manual.
>>> Thanks,
>>> David Holmes

More information about the web-discuss mailing list