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