Get the unified diff from a bundle against an http repository

Christophe Attias christophe.attias at amadeus.com
Fri Aug 27 16:46:00 UTC 2010


Hi guys,

Here is my problem.
I have a local dev clone of my 'central' repository (which is an http 
repo).
On my local clone I perform changes.
Then I create a mercurial bundle containing all the changesets that are in 
my local clone and are not present in the central one.
So far so good.

The goal for me is to be able afterwards to generate a unified diff 
corresponding to the content of my bundle (for instance to perform a code 
review on it) but without having access to my initial local dev clone.
I agree that I need to be "inside" a repository that at least contains the 
base changeset of my bundle to be able to generate the diff, which is the 
case of my central one.
And it works like a charm when my central repository is a local one, but 
it can't make it work with an http repo.

Any idea ?

By the way, I'm writing a lots of mercurial extensions for my company and 
I find it great BUT (yes there is always a but) it is really hard to find 
good informations about the Mercurial Api. 
I always have too look into the code of Mercurial to understand how I can 
do and then I'm clearly not sure I'm doing it the good way ... 
Am I missing something ?

Thanks

Best regards

Christophe Attias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100827/5dfab194/attachment.html>


More information about the Mercurial mailing list