Skip to content

Commit

Permalink
contrib: remote-helpers: add move warnings (v2.0)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
felipec authored and gitster committed May 20, 2014
1 parent 10e1fee commit 0311086
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/remote-helpers/git-remote-bzr
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ import re
import StringIO
import atexit, shutil, hashlib, urlparse, subprocess

sys.stderr.write('WARNING: git-remote-bzr is now maintained independently.\n')
sys.stderr.write('WARNING: For more information visit https://github.com/felipec/git-remote-bzr\n')

NAME_RE = re.compile('^([^<>]+)')
AUTHOR_RE = re.compile('^([^<>]+?)? ?[<>]([^<>]*)(?:$|>)')
EMAIL_RE = re.compile(r'([^ \t<>]+@[^ \t<>]+)')
Expand Down
3 changes: 3 additions & 0 deletions contrib/remote-helpers/git-remote-hg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ import atexit
import urlparse, hashlib
import time as ptime

sys.stderr.write('WARNING: git-remote-hg is now maintained independently.\n')
sys.stderr.write('WARNING: For more information visit https://github.com/felipec/git-remote-hg\n')

#
# If you want to see Mercurial revisions as Git commit notes:
# git config core.notesRef refs/notes/hg
Expand Down

0 comments on commit 0311086

Please sign in to comment.