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

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

Get maximum occurring character

Find the pairs that makes K Complementary in the given array java solution

Changing decimal number to its binary equivalent

Implementing tokenizer and adding tokens to the linked list

binary tree problems with solution

Find the first occurence of number in the sorted array

Implement Queue Using two Stacks – JavaScript algorithm

String Ordered Permutation Algorithm Problem

Kadane’s algorithm in C – Dynamic Programming

5 Comments
  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 to gulleman Cancel reply

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

*
*