Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see what will be pushed to a Mercurial repo before doing an actual hg push?

I want to push my code to a repo, but before doing so I would like to see what changes the push will send.

like image 232
Daniel Williams Avatar asked Jan 03 '12 04:01

Daniel Williams


People also ask

How do I revert a changeset in Mercurial?

To revert a file to a specific changeset, use hg revert -r CHANGESET FILENAME . This will revert the file without committing it.


1 Answers

This should display the changesets to be pushed.

hg outgoing

http://www.selenic.com/mercurial/hg.1.html#outgoing

To customize the output, check this answer: https://stackoverflow.com/a/3041751/62054

like image 95
Nick VanderPyle Avatar answered Nov 01 '22 13:11

Nick VanderPyle