diff hggit/hg2git.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
line wrap: on
line diff
--- a/hggit/hg2git.py	Mon Nov 27 18:46:07 2017 -0500
+++ b/hggit/hg2git.py	Mon Nov 27 19:05:08 2017 -0500
@@ -35,12 +35,14 @@
     ...         print s
     >>> u = fakeui()
     >>> audit_git_path(u, 'foo/git~100/wat')
-    warning: path 'foo/git~100/wat' contains a potentially dangerous path component.
+    ... # doctest: +ELLIPSIS
+    warning: path 'foo/git~100/wat' contains a potentially dangerous ...
     It may not be legal to check out in Git.
     It may also be rejected by some git server configurations.
     <BLANKLINE>
     >>> audit_git_path(u, u'foo/.gi\u200ct'.encode('utf-8'))
-    warning: path 'foo/.gi\xe2\x80\x8ct' contains a potentially dangerous path component.
+    ... # doctest: +ELLIPSIS
+    warning: path 'foo/.gi\xe2\x80\x8ct' contains a potentially dangerous ...
     It may not be legal to check out in Git.
     It may also be rejected by some git server configurations.
     <BLANKLINE>