Homec4science

Use "-b", not "--branch", when issuing "hg log" in Phabricator

Authored by epriestley <git@epriestley.com> on May 22 2012, 16:14.

Description

Use "-b", not "--branch", when issuing "hg log" in Phabricator

Summary:
Mercurial renamed "--only-branch" to "--branch" about two years ago. "-b" exists in both versions.

http://www.selenic.com/pipermail/mercurial-devel/2010-April/020469.html

We have a few other cases where we use features that exist only in recent Mercurial (notably, 'ancestors' in log) but we can work around this one easily.

Test Plan: Looked at a Mercurial repo in Diffusion, verified that "log -b" commands issued and that the output was correct.

Reviewers: btrahan, Makinde, ipalaus

Reviewed By: ipalaus

CC: aran

Maniphest Tasks: T1264

Differential Revision: https://secure.phabricator.com/D2533

Details

Committed
epriestley <git@epriestley.com>May 22 2012, 16:14
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3078778fc064: Support more aliases of "Test Plan" in commit messages
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHa009c93350ed: Use "-b", not "--branch", when issuing "hg log" in Phabricator (authored by epriestley <git@epriestley.com>).May 22 2012, 16:14