Mercurial > hg > hg-git
changeset 316:7e5ed21ceec1
git_handler: prefer () continuation to \ continuation.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 05 Apr 2010 19:06:20 -0500 |
parents | aba4284f41ec |
children | 8875c8946ca0 |
files | hggit/git_handler.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -726,8 +726,8 @@ new_ref = 'refs/remotes/%s/%s' % (remote_name, head) self.git.refs[new_ref] = sha - elif ref_name.startswith('refs/tags') and \ - not ref_name.endswith('^{}'): + elif (ref_name.startswith('refs/tags') + and not ref_name.endswith('^{}')): self.git.refs[ref_name] = sha