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

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

testing k complementary pairs algorithm with junit

Changing decimal number to its binary equivalent

Find longest palindrom from sequence of characters

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

Check if there are three numbers a, b, c giving a total T from array A

Finding missing numbers from billion sequential number list file

String Ordered Permutation Algorithm Problem

binary tree problems with solution

Implementing tokenizer and adding tokens to the linked list

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

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

*
*