Forum Discussion

ciaranarcher's avatar
13 years ago

Using CodeCollab with Mercurial - adding a diff of outgoing changes to a review

Hi there



I have two mercurial repositories, A and B.



B is cloned from A.



We would like to do a pre-push code-review before I push from B back to A. Essentially I am looking to get a set of changes between the two repositories attached to a review in Code Collab. 



Is there a way to do this?



Cheers,

Ciaran

1 Reply

  • Hello, this is Greg from CodeCollaborator Support.



    I think the command you are looking for is "addhgdiffs". I have included
    a link to our documentation below, but the gist of it is use that
    command, and every thing after <review> is sent straight to Hg as
    an argument, so anything you can do with hg can be done with our tool. I
    am not familiar enough with Hg to give you the exact syntax of the
    command (Sorry), but a look at some Hg documentation or a talk with your
    local expert should get things sorted out in quick order.  If you have
    any other questions or this didn't make sense, please respond and I will
    do my best to address them.



    Link:

    http://smartbear.com/support/viewarticle/20579/