Remove clean outgoing change from mercurial hg

Remove clean outgoing change from mercurial hg

How to clear outgoing change from repository that are listed when you do hg o or hg outgoing

In this case using the hg strip will be the solution.

To use hg strip you need to install the extension mq, to install that:

Assuming you are on ubuntu/linux desto

1. go to /home/USER/

2. open .hgrc

3. under the [extensions] add mq =

Say you have two outgoing changes with revison rev1 and rev2.

If you want to get rid of rev2 then being on the repository do:

hg strip rev2

That would remove the outgoing revision from the repository and you can push only the desired revision change

See how you would solve these known algorithm problems

Array reversal in Recurrsion

Check if two strings are anagrams or not

testing k complementary pairs algorithm with junit

binary tree problems with solution

Java solution for checking anagram strings – tell if phrases are anagrams

Kadane’s algorithm in C – Dynamic Programming

Implementing tokenizer and adding tokens to the linked list

Changing decimal number to its binary equivalent

Finding missing numbers from billion sequential number list file

Find the first occurence of number in the sorted array

  1. outlook mail

    “Very good blog, I will recommend to my friends that always visit and has very interesting things.”

  2. Rahul

    It is really a nice share. I have been looking for this to know from long. Thank you for sharing

  3. Ronald Ellard

    Nice post! I having been meaning to make more time available to engage in discussion rather than just blogging away on my own.

  4. Anil

    Nice Post mate, I will bookmarkt it for further updates. Thank You. Cheers

    1. gulleman

      Thanks Anil, I am glad it help you..

Leave a Reply

Your email address will not be published. Required fields are marked *