source: trunk/source/scripts/http-to-ssh @ 13537

Last change on this file since 13537 was 8139, checked in by gb, 12 years ago

split

  • Property svn:executable set to *
File size: 624 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+ssh' instead.
5# (The http: access method allows read-only access; 'svn+ssh' 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
15for d in `ls $CCLDIR`
16do
17 if [ -d $CCLDIR/$d ]; then
18   $SCRIPTS/svn-switch $CCLDIR/$d
19 fi
20done
Note: See TracBrowser for help on using the repository browser.