Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /admin/checkout-all.sh
ViewVC logotype

Diff of /admin/checkout-all.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2182, Tue Nov 7 17:38:52 2006 UTC revision 2183, Tue Nov 7 17:43:30 2006 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3    command=checkout
4    
5    if [ $# -ge 1 ] ; then
6        case $1 in
7            --export|-e)
8                command=export
9                shift
10                ;;
11            *)
12                ;;
13        esac
14    fi
15    
16  if [ $# -ge 1 ] ; then  if [ $# -ge 1 ] ; then
17      mkdir $1      mkdir $1
18      cd $1      cd $1
# Line 25  Line 38 
38      fi      fi
39      if [ ! -d $target ] ; then      if [ ! -d $target ] ; then
40          echo Checking out $source as $target.          echo Checking out $source as $target.
41          svn checkout $source $target          svn $command $source $target
42      else      else
43          echo Tree $target already exists.          echo Tree $target already exists.
44      fi      fi

Legend:
Removed from v.2182  
changed lines
  Added in v.2183

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0