/[webpac]/update_branches.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /update_branches.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 668 - (hide annotations)
Wed Feb 16 00:04:13 2005 UTC (19 years, 1 month ago) by dpavlin
File MIME type: application/x-sh
File size: 253 byte(s)
better help, optional to revision

1 dpavlin 319 #!/bin/sh
2    
3     if [ -z "$1" ] ; then
4 dpavlin 668 echo "Usage: $0 [from revision] [to revision|HEAD]"
5 dpavlin 319 exit 1
6     fi
7    
8     rev=$1
9 dpavlin 668 to=HEAD
10     if [ ! -z "$2" ] ; then
11     to=$2
12     fi
13 dpavlin 319
14 dpavlin 668 find branches/ -type d -maxdepth 1 -mindepth 1 | grep -v \.svn | xargs -i svn merge -r$rev:$to trunk/ {}

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26