Mercurial > hg-git
changeset 1111:f1c4e2ba8ff9
cleanup: fix whitespace around operators
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 27 Nov 2017 18:24:34 -0500 |
parents | 94aaea5c65f7 |
children | c66e920d261f |
files | hggit/git2hg.py hggit/overlay.py setup.py |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/git2hg.py Mon Nov 27 18:22:34 2017 -0500 +++ b/hggit/git2hg.py Mon Nov 27 18:24:34 2017 -0500 @@ -16,7 +16,7 @@ # sort by commit date def commitdate(sha): obj = git_object_store[sha] - return obj.commit_time-obj.commit_timezone + return obj.commit_time - obj.commit_timezone # get a list of all the head shas def get_heads(refs):
--- a/hggit/overlay.py Mon Nov 27 18:22:34 2017 -0500 +++ b/hggit/overlay.py Mon Nov 27 18:24:34 2017 -0500 @@ -156,7 +156,7 @@ match = None kwargs = { - 'clean' : clean + 'clean': clean } # Older versions of mercurial don't support the match arg, so only add it if # it exists.
--- a/setup.py Mon Nov 27 18:22:34 2017 -0500 +++ b/setup.py Mon Nov 27 18:24:34 2017 -0500 @@ -34,7 +34,7 @@ keywords='hg git mercurial', license='GPLv2', packages=['hggit'], - package_data={ 'hggit': ['help/git.rst'] }, + package_data={'hggit': ['help/git.rst']}, include_package_data=True, install_requires=['dulwich>=0.9.7'] + extra_req, )