contrib: remote-helpers: add move warnings (v2.0)
The tools are now maintained out-of-tree, and they have a regression in v2.0. It's better to start warning the users as soon as possible. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
May 13, 2014 at 16:29 UTC
03110863517c4a7aa37a10f14a9ad8be49eeca59
2 files changed
+6
contrib/remote-helpers/git-remote-bzr
+3
@@ -43,6 +43,9 @@ import re
43
import StringIO
44
import atexit, shutil, hashlib, urlparse, subprocess
45
46
+sys.stderr.write('WARNING: git-remote-bzr is now maintained independently.\n')
47
+sys.stderr.write('WARNING: For more information visit https://github.com/felipec/git-remote-bzr\n')
48
+
49
NAME_RE = re.compile('^([^<>]+)')
50
AUTHOR_RE = re.compile('^([^<>]+?)? ?[<>]([^<>]*)(?:$|>)')
51
EMAIL_RE = re.compile(r'([^ \t<>]+@[^ \t<>]+)')
contrib/remote-helpers/git-remote-hg
+3
@@ -25,6 +25,9 @@ import atexit
25
import urlparse, hashlib
26
import time as ptime
27
28
+sys.stderr.write('WARNING: git-remote-hg is now maintained independently.\n')
29
+sys.stderr.write('WARNING: For more information visit https://github.com/felipec/git-remote-hg\n')
30
+
31
#
32
# If you want to see Mercurial revisions as Git commit notes:
33
# git config core.notesRef refs/notes/hg