Skip to content
Snippets Groups Projects
Commit 169c97d4e722 authored by durin42's avatar durin42
Browse files

tests: update test-share to pass our import checker

parent 68bc85f46fe3
No related branches found
No related tags found
No related merge requests found
......@@ -326,7 +326,12 @@
$ cat > failpullbookmarks.py << EOF
> """A small extension that makes bookmark pulls fail, for testing"""
> from mercurial import extensions, exchange, error
> from __future__ import absolute_import
> from mercurial import (
> error,
> exchange,
> extensions,
> )
> def _pullbookmarks(orig, pullop):
> orig(pullop)
> raise error.HookAbort('forced failure by extension')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment