Mercurial > hg-git
changeset 808:4bca27d22a96
git_handler: write inequality more idiomatically
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 27 Oct 2014 21:47:24 -0700 |
parents | 5bd9cdfef71a |
children | 2d8037666f4e |
files | hggit/git_handler.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/git_handler.py Tue Oct 28 19:03:54 2014 -0700 +++ b/hggit/git_handler.py Mon Oct 27 21:47:24 2014 -0700 @@ -608,7 +608,7 @@ False) extra_message = '' git_extra = [] - if not ctx.branch() == 'default': + if ctx.branch() != 'default': # we always store the branch in the extra message extra_message += "branch : " + ctx.branch() + "\n"