Detecting conflicts that a pull would cause wothout actually pulling

Akos Tajti akos.tajti at
Fri Jun 17 09:58:50 CDT 2011

Dear List,

I'd like to solve the following problem:
I have a repository (call it A) and a clone of it (call it B). I made some
changes in B and I want to ask the owner of A to pull it. I'd like to
implement a function that can figure out if the changes in B can be pulled
to A without causing any conflicts. I want to implement this in such a way
that doesn't corrupt the information in A (so anyone who clones A sees
exactly the same than before this confict detection).

Please note that I'd like to solve it the more efficient way. I saw that
bitbucket performs this check for pull requests very fast. Do you have any

Thanks in advance,
Ákos Tajti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Mercurial mailing list