Workflow issue with "no changes" revisions

Create issue
Issue #84 resolved
Patrick Mézard created an issue

Hello,

I just had the following error:

""" Could not push revision XXXX because it had no changes in svn """

Say I know nothing about MQ or history editing in general, what am I expected to do here? (I have 3 other commits on top of the problematic revision).

Comments (4)

  1. Augie Fackler repo owner

    Yeah, this is definitely a problem for usability. I'm not sure how to work around this issue given the current limitations of rebase.

  2. Konstantin Tkachenko

    It's a little bit annoying, but not a big problem. I've learned about MQ thanks for that problem. The MQ-Extension is realy great. So learning about it is worth it.

    Shortly:

    hg qimport -r badEmptyCommit:tip
    hg qpop -a
    hg qdelete -r badEmptyCommit.diff
    hg qpush -a
    hg qfinish -a
    

    And it is done.

  3. Log in to comment