Mercurial: Which branch I am on?

When there are multiple branches on your repo and you want to know which one you are on, hg branches is the command that comes to mind. But this command lists all the branches that exist on the repo and NOT the one you are on. hg summary command correctly lists the branch you are on.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s