Diff using an HTTP repository

Christophe Attias christophe.attias at amadeus.com
Tue Jan 4 09:10:24 CST 2011


I thought about the local clone solution but it might become too heavy in 
my case.

In fact we are trying to promote Mercurial as the main source control 
management tool in our company and to do so we have built some sort of 
"bitbucket like" intranet site for our users.
This intranet site allows developers/contributors to submit pull requests 
to the integrators of a specific project hosted on our intranet site.

The problem is that these integrators would like to see the content of the 
pull requests, before integrating them, in the form of a unified diff and 
sometimes these pull requests are defined by an HTTP repository and 2 
revisions, thus my initial question.

But I guess I will have to find another work around.

Thanks for your time.

Chris





From:   Greg Ward <greg-hg at gerg.ca>
To:     Christophe Attias <christophe.attias at amadeus.com>
Cc:     mercurial at selenic.com
Date:   04/01/2011 15:46
Subject:        Re: Diff using an HTTP repository
Sent by:        gerg.ward at gmail.com



On Tue, Jan 4, 2011 at 9:30 AM, Christophe Attias
<christophe.attias at amadeus.com> wrote:
> Hy guys,
>
> First of all, happy new year to everyone :).
>
> I was wondering if there is a way to get a unified diff from an HTTP
> repository.

No.  Distributed version control means all the interesting stuff
happens in local clones.  Mercurial's wire protocol is much more
limited than its command-line or Python APIs, and definitely does not
support arbitrary diffs.  Just make a local clone.

Greg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110104/c6c8440a/attachment.htm>


More information about the Mercurial mailing list