Mercurial > hg-git
comparison hggit/verify.py @ 1116:bd1a01f98154
cleanup: wrap to 80 chars
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 27 Nov 2017 19:05:08 -0500 |
parents | 8ed6c0cae9b8 |
children | 6141895a53c9 |
comparison
equal
deleted
inserted
replaced
1115:8ed6c0cae9b8 | 1116:bd1a01f98154 |
---|---|
16 | 16 |
17 | 17 |
18 def verify(ui, repo, hgctx): | 18 def verify(ui, repo, hgctx): |
19 '''verify that a Mercurial rev matches the corresponding Git rev | 19 '''verify that a Mercurial rev matches the corresponding Git rev |
20 | 20 |
21 Given a Mercurial revision that has a corresponding Git revision in the map, | 21 Given a Mercurial revision that has a corresponding Git revision in the |
22 this attempts to answer whether that revision has the same contents as the | 22 map, this attempts to answer whether that revision has the same contents as |
23 corresponding Git revision. | 23 the corresponding Git revision. |
24 | 24 |
25 ''' | 25 ''' |
26 handler = repo.githandler | 26 handler = repo.githandler |
27 | 27 |
28 gitsha = handler.map_git_get(hgctx.hex()) | 28 gitsha = handler.map_git_get(hgctx.hex()) |