get_source.sh

Tue, 18 Dec 2012 09:57:01 +0100

author
ohrstrom
date
Tue, 18 Dec 2012 09:57:01 +0100
changeset 538
8e36a0fabf58
parent 436
955a3e8ed4f0
child 615
8dd61906da5f
permissions
-rw-r--r--

8004145: New improved hgforest.sh, ctrl-c now properly terminates mercurial processes.
Reviewed-by: ohair, erikj

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

mercurial