diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-05-19 16:05:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-19 17:10:03 -0700 |
commit | 352f46c6eb0f02039e8034dbf71d5c86c37a7926 (patch) | |
tree | dabe51b9a361fd36f372d361e3b01f668091c2da | |
parent | 896ba14d653c43bd7a43b6b291e941ab60855c04 (diff) | |
download | git-jc/graduate-remote-hg-bzr.tar.gz |
remote-helpers: give short instructions to download the latestjc/graduate-remote-hg-bzr
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | contrib/remote-helpers/git-remote-bzr | 6 | ||||
-rwxr-xr-x | contrib/remote-helpers/git-remote-hg | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr index be4b9a34ed..c0cb65202d 100755 --- a/contrib/remote-helpers/git-remote-bzr +++ b/contrib/remote-helpers/git-remote-bzr @@ -46,6 +46,12 @@ 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') +sys.stderr.write('''WARNING: You can pick a directory on your $PATH and download it, e.g.: +WARNING: $ wget -O $HOME/bin/git-remote-bzr \\ +WARNING: https://raw.github.com/felipec/git-remote-bzr/master/git-remote-bzr +WARNING: $ chmod +x $HOME/bin/git-remote-bzr +''') + 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 989df66c19..c07d1a5d1f 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/git-remote-hg @@ -28,6 +28,12 @@ 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') +sys.stderr.write('''WARNING: You can pick a directory on your $PATH and download it, e.g.: +WARNING: $ wget -O $HOME/bin/git-remote-hg \\ +WARNING: https://raw.github.com/felipec/git-remote-hg/master/git-remote-hg +WARNING: $ chmod +x $HOME/bin/git-remote-hg +''') + # # If you want to see Mercurial revisions as Git commit notes: # git config core.notesRef refs/notes/hg |