annotate get_source.sh @ 12582:46d24df71c5d

7167593: Changed get_source.sh to allow for getting full oracle jdk repo forest Reviewed-by: erikj, asaha, chegar, sla, dholmes, mbykov, coleenp
author ohair
date Thu, 10 May 2012 08:26:26 -0700
parents 6a3a53d8eacc
children 804551752e64
rev   line source
ohair@7650 1 #!/bin/sh
ohair@7650 2
ohair@7650 3 #
ohair@12582 4 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
ohair@7650 5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@7650 6 #
ohair@7650 7 # This code is free software; you can redistribute it and/or modify it
ohair@7650 8 # under the terms of the GNU General Public License version 2 only, as
ohair@7650 9 # published by the Free Software Foundation. Oracle designates this
ohair@7650 10 # particular file as subject to the "Classpath" exception as provided
ohair@7650 11 # by Oracle in the LICENSE file that accompanied this code.
ohair@7650 12 #
ohair@7650 13 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@7650 14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@7650 15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@7650 16 # version 2 for more details (a copy is included in the LICENSE file that
ohair@7650 17 # accompanied this code).
ohair@7650 18 #
ohair@7650 19 # You should have received a copy of the GNU General Public License version
ohair@7650 20 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@7650 21 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@7650 22 #
ohair@7650 23 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@7650 24 # or visit www.oracle.com if you need additional information or have any
ohair@7650 25 # questions.
ohair@7650 26 #
ohair@7650 27
ohair@7650 28 # Get clones of all nested repositories
ohair@12582 29 sh ./make/scripts/hgforest.sh clone $*
ohair@7650 30
ohair@7650 31 # Update all existing repositories to the latest sources
ohair@7650 32 sh ./make/scripts/hgforest.sh pull -u
ohair@7650 33