[API] How to check if a remote repository contains a revision

Matt Mackall mpm at selenic.com
Sat Jan 14 17:07:56 CST 2012

On Sat, 2012-01-14 at 23:59 +0100, Arne Babenhauserheide wrote:
> Hi,
> How can I check with the internal commands, if a remote repository of any kind contains a given revision?
> And is it possible to pull only up to a certain revision?
> Something like 
> 		  subrepo._repo.pull(other, rev=revision)

Consult commands.identify.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial-devel mailing list