I suggest you ...

Add support for mercurial (hg)

Support adddiffs, addchangelist and addchanges for mercurial

119 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    pjzAdminpjz (Admin, Code Collaborator) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    12 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • awilsonawilson commented  ·   ·  Flag as inappropriate

        One challenge when creating code reviews is including only changes that the developer is responsible for. If we only use hgdiffs between revision A and B, we end up dragging a lot of unrelated changes into the review.

        When we commit code, we often will create a bundle of changes (local changes&commits against the top level base repository). We will then pass this bundle to another developer for a sanity check before committing. The developer will then create a new clone of the base repository, and then pull in the changesets. This generally forces the developer to perform a merge -- so all changes are outstanding. It's then easy to create a diff of base repository vs. new commits by running hg diff. If there was a way to do this with code collaborator, that would be awesome. We need a way to filter all of the unrelated code changes that may happen between revision A and revision B.

      • aviravir commented  ·   ·  Flag as inappropriate

        Support should specifically allow for post-commit/pre-push reviews. Especially from the Windows GUI.

      • GarenGaren commented  ·   ·  Flag as inappropriate

        Assuming I understand you correctly, I'd favor "post-commit", regardless of the VCS being used. You really want to be able to refer to a specific version, especially if you have triggers running after the review. Pre-commit to me suggests to me that you're not properly isolated.

      • GarenGaren commented  ·   ·  Flag as inappropriate

        There is Eclipse plugin for Mercurial: hhttp://bitbucket.org/mercurialeclipse/

        Command line support is probably "good enough" to begin with, since most Mercurial users are used to using it that way in the first place (except for some Eclipse users). For wider adoption long term, will need GUI support too.

      • gsporarAdmingsporar (Admin, Code Collaborator) commented  ·   ·  Flag as inappropriate

        Which leads to the questions about Mercurial. How would you envision using it with CC? Pre-commit? Post-commit? Both? If so, which is higher priority? And are there Mercurial-specific features we should take into account? Is a command line user interface enough or do you need support in the CC GUI as well? Is there an Eclipse plugin for Hg that is popular - if so we can leverage it with ours, etc.

      • gsporarAdmingsporar (Admin, Code Collaborator) commented  ·   ·  Flag as inappropriate

        Hi Garen - Code Collaborator (CC) provides a variety of different levels of support, depending upon the vcs in question; e.g. CC can't provide support for "jobs" in VSS because VSS doesn't support jobs - but Perforce does, etc. The support ranges from just being able to use the same parameters as a vcs's native diff tool all the way up to support for concepts that are available *only* in one vcs.

      • GarenGaren commented  ·   ·  Flag as inappropriate

        Jason, I'm not sure what you mean by your questions, and with only 400 characters per post I can't speculate too much. :) Suffice to say that mercurial is the DCVS that actually works well on multiple platforms. There's a chicken-and-egg issue here, given that it's limited by a lack of 3rd party tool support. (Komodo 5.1 just came out with mercurial/git support though!)

      • randywrandyw commented  ·   ·  Flag as inappropriate

        when using SVN, I usually use addchanges to review changes before committing. I'd like the same ability with Hg. Currently, I have to use addfiles from the commandline and specify each file individually that I'd like to review. This is painful when reviewing a directory full of files.

      • jasoncohenAdminjasoncohen (Admin, Code Collaborator) commented  ·   ·  Flag as inappropriate

        It's funny that there are so many votes and no comments.

        Would anyone like to share exactly how they'd like to see the implementation work? How would it fit into your current workflow? Which integration point would you like to see first?

      Knowledge Base and Helpdesk