# HG changeset patch # User Sean Farley # Date 1511824954 18000 # Node ID 94aaea5c65f710922d88132f8c503546681aec02 # Parent 21264429a8d4e3216536708037871d4e5f3a7713 cleanup: fix incorrect indentation diff -r 21264429a8d4 -r 94aaea5c65f7 hggit/git_handler.py --- a/hggit/git_handler.py Mon Nov 27 18:21:17 2017 -0500 +++ b/hggit/git_handler.py Mon Nov 27 18:22:34 2017 -0500 @@ -476,7 +476,7 @@ nodes = (clnode(n) for n in repo) to_export = (repo[node] for node in nodes if not hex(node) in - self._map_hg) + self._map_hg) todo_total = len(repo) - len(self._map_hg) topic = 'find commits to export' @@ -519,7 +519,7 @@ self.repo, pctx, self.git.object_store, gitcommit) mapsavefreq = compat.config(self.ui, 'int', 'hggit', - 'mapsavefrequency') + 'mapsavefrequency') for i, ctx in enumerate(export): self.ui.progress('exporting', i, total=total) self.export_hg_commit(ctx.node(), exporter) @@ -811,7 +811,7 @@ self.ui.status(_("no changes found\n")) mapsavefreq = compat.config(self.ui, 'int', 'hggit', - 'mapsavefrequency') + 'mapsavefrequency') for i, csha in enumerate(commits): self.ui.progress('importing', i, total=total, unit='commits') commit = commit_cache[csha] diff -r 21264429a8d4 -r 94aaea5c65f7 hggit/gitdirstate.py --- a/hggit/gitdirstate.py Mon Nov 27 18:21:17 2017 -0500 +++ b/hggit/gitdirstate.py Mon Nov 27 18:22:34 2017 -0500 @@ -128,7 +128,7 @@ self._ui.warn("%s: %s\n" % (fn, warning)) patterns.extend(pats) return gignore(self._root, files, self._ui.warn, - extrapatterns=patterns) + extrapatterns=patterns) def _finddotgitignores(self): """A copy of dirstate.walk. This is called from the new _ignore method, diff -r 21264429a8d4 -r 94aaea5c65f7 hggit/overlay.py --- a/hggit/overlay.py Mon Nov 27 18:21:17 2017 -0500 +++ b/hggit/overlay.py Mon Nov 27 18:22:34 2017 -0500 @@ -442,7 +442,7 @@ def _constructmanifest(self): return overlaymanifestrevlog(self, - self.handler.repo._constructmanifest()) + self.handler.repo._constructmanifest()) def __getitem__(self, n): if n not in self.revmap: