[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial
Subject: Re: does remote repo contain changeset xyzzy?
From: Roman Neuhauser <neuhauser () sigpipe ! cz>
Date: 2013-09-04 10:14:35
Message-ID: 20130904101435.GA71308 () isis ! sigpipe ! cz
[Download RAW message or body]
# pierre-yves.david@ens-lyon.org / 2013-09-04 12:10:21 +0200:
> On 4 sept. 2013, at 11:35, Roman Neuhauser wrote:
> > i'm trying to produce a request-pull extension, see [1, 2]:
> You may want to have a look at the email extension and aims to
> include such feature in it instead.
thanks for the pointer, i'll check that out!
> > I don't see any other way to check
> > for presence of HEAD in the URL in the command line API.
>
> You can use hg id for that:
>
> hg id <remote> -r <rev>
ooh, how i overlooked that...
> > does the internal (Python) API have anything faster, even
> > if it only works for some repo types? (not working with
> > statichttprepo is not a showstopper.)
>
> Of course! we have internal function to discover common and
> missing changeset for a push or pull.
sweet! which one is it?
thanks to Simon King as well!
--
roman
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic