From 03110863517c4a7aa37a10f14a9ad8be49eeca59 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Tue, 13 May 2014 16:29:56 -0500 Subject: 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 Signed-off-by: Junio C Hamano --- contrib/remote-helpers/git-remote-bzr | 3 +++ contrib/remote-helpers/git-remote-hg | 3 +++ 2 files changed, 6 insertions(+) (limited to 'contrib') diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr index 9abb58e6a..be4b9a34e 100755 --- a/contrib/remote-helpers/git-remote-bzr +++ b/contrib/remote-helpers/git-remote-bzr @@ -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<>]+)') diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg index 34cda0275..989df66c1 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/git-remote-hg @@ -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 -- cgit v1.2.1 From 896ba14d653c43bd7a43b6b291e941ab60855c04 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 15 May 2014 14:58:16 -0700 Subject: remote-helpers: point at their upstream repositories Signed-off-by: Junio C Hamano --- contrib/remote-helpers/README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 contrib/remote-helpers/README (limited to 'contrib') diff --git a/contrib/remote-helpers/README b/contrib/remote-helpers/README new file mode 100644 index 000000000..6ce8b1b4d --- /dev/null +++ b/contrib/remote-helpers/README @@ -0,0 +1,19 @@ +The remote-helper bridges to access data stored in Mercurial and +Bazaar are maintained outside the git.git tree in the repositories +of its primary author: + + https://github.com/felipec/git-remote-hg (for Mercurial) + https://github.com/felipec/git-remote-bzr (for Bazaar) + +You can pick a directory on your $PATH and download them from these +repositories, e.g.: + + $ wget -O $HOME/bin/git-remote-hg \ + https://raw.github.com/felipec/git-remote-hg/master/git-remote-hg + $ wget -O $HOME/bin/git-remote-bzr \ + https://raw.github.com/felipec/git-remote-bzr/master/git-remote-bzr + $ chmod +x $HOME/bin/git-remote-hg $HOME/bin/git-remote-bzr + +As a convenience, copies of the last-bundled version of these two +remote-helper bridges are still kept here, but they may become +stale over time. -- cgit v1.2.1