source: trunk/source/scripts/http-to-svn

Last change on this file was 14213, checked in by gb, 10 years ago

Update comments, in case someone tries to read them someday.

  • Property svn:executable set to *
File size: 752 bytes
Line 
1#!/bin/sh
2
3# This script can be used to rewrite the schema in svn working copy URLs,
4# changing URLs that use 'http' as an access method to use 'svn' instead.
5# (The http: access method allows read-only access; 'svn' allows people
6# with appropriate permission to commit changes to the repository.)
7
8SCRIPTS=`dirname $0`
9CCLDIR=$SCRIPTS/..
10
11# This assumes that all directories under CCL are under svn control
12# That's a reasonable assumption after a fresh checkout; if it's
13# violated, svn will warn and we'll move on.
14
15http_root=http://svn.clozure.com/publicsvn/openmcl
16svn_root=svn://svn.clozure.com/openmcl
17
18for d in `ls $CCLDIR`
19do
20 if [ -d $CCLDIR/$d ]; then
21   echo relocating $d
22   (cd $d && svn switch --relocate $http_root $svn_root)
23 fi
24done
Note: See TracBrowser for help on using the repository browser.