Issue deprecation warning for devs on use.
authorMichał Górny <mgorny@gentoo.org>
Mon, 12 Sep 2011 12:49:44 +0000 (12:49 +0000)
committerMichał Górny <mgorny@gentoo.org>
Mon, 12 Sep 2011 12:49:44 +0000 (12:49 +0000)
eclass/git.eclass

index 90f21be114ef3ac750d55a01990667afb2905144..5dfd59bb8b488f765764e5fe7de4799353f7f4b7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.56 2011/08/22 04:46:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.57 2011/09/12 12:49:44 mgorny Exp $
 
 # @DEPRECATED
 # This eclass has been superseded by git-2 eclass.
@@ -195,6 +195,10 @@ git_branch() {
 git_fetch() {
        debug-print-function ${FUNCNAME} "$@"
 
+       eqawarn "git.eclass is deprecated."
+       eqawarn "Please update your ebuilds to use git-2 instead. For details, see"
+       eqawarn "http://archives.gentoo.org/gentoo-dev/msg_b7ba363cae580845819ae3501fb157e9.xml"
+
        local GIT_DIR EGIT_CLONE_DIR oldsha1 cursha1 extra_clone_opts upstream_branch
        [[ -z ${EGIT_HAS_SUBMODULES} ]] && export GIT_DIR