blob: f83a3766c1292dbedfe74189d093494b0e1226eb [file] [log] [blame]
Kelly O'Hair213481a2010-12-22 12:25:52 -08001#!/bin/sh
2
3#
Kelly O'Hair5c5ce872012-05-10 08:26:26 -07004# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
Kelly O'Hair213481a2010-12-22 12:25:52 -08005# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6#
7# This code is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License version 2 only, as
9# published by the Free Software Foundation. Oracle designates this
10# particular file as subject to the "Classpath" exception as provided
11# by Oracle in the LICENSE file that accompanied this code.
12#
13# This code is distributed in the hope that it will be useful, but WITHOUT
14# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16# version 2 for more details (a copy is included in the LICENSE file that
17# accompanied this code).
18#
19# You should have received a copy of the GNU General Public License version
20# 2 along with this work; if not, write to the Free Software Foundation,
21# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
22#
23# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
24# or visit www.oracle.com if you need additional information or have any
25# questions.
26#
27
28# Get clones of all nested repositories
Chris Hegartydab327e2013-02-06 11:36:19 +000029sh ./common/bin/hgforest.sh clone "$@" || exit 1
Kelly O'Hair213481a2010-12-22 12:25:52 -080030
31# Update all existing repositories to the latest sources
Fredrik Öhrströmccafa0b2012-12-18 09:57:01 +010032sh ./common/bin/hgforest.sh pull -u
Kelly O'Hair213481a2010-12-22 12:25:52 -080033