[issue729] add support for quering remote repository revision

Robert Schuster mercurial-bugs at selenic.com
Thu Sep 6 04:10:50 CDT 2007


New submission from Robert Schuster <thebohemian at gmx.net>:

I wanted to add mercurial support to openembedded:
http://bugs.openembedded.org/show_bug.cgi?id=2913

The reason why it was rejected is:
"I couldn't commit the revisions part of the hg fetcher since we need to be able
to find out the remote head revision without requiring a local checkout."

In short. What should work without having a local checkout is a command like the
following:
hg identify http://mips.complang.tuwien.ac.at/hg/cacao

What would be even better if we could get the ordered (=sortable) revision number:
hg identify -n http://mips.complang.tuwien.ac.at/hg/cacao

However I know that in mercurial those numbers are meant to be site local. On
the other hand if one is not interested in doing commits on a branch (just read
access) it is useful to know those. Perhaps there could be a "identify-remote"
command to distinguish it clearly from the normal use.

----------
messages: 3972
nosy: thebohemian
priority: wish
status: unread
title: add support for quering remote repository revision

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue729>
____________________________________________________



More information about the Mercurial-devel mailing list