diff options
author | Jason Chu <jchu@xentac.net> | 2008-04-05 18:11:32 -0700 |
---|---|---|
committer | Jason Chu <jchu@xentac.net> | 2008-04-05 18:11:32 -0700 |
commit | 8842f31551eb8bd26fa69853194f5c6fedab4cde (patch) | |
tree | a469efd03058db26a2b39c9d434f3211b2556bca /archrelease | |
parent | e76a1b2defac8fcbd2378e1c27577cb2c6548695 (diff) | |
download | devtools-8842f31551eb8bd26fa69853194f5c6fedab4cde.tar.xz |
Add arch{co,release,rm} to devtools and make them install properly
Diffstat (limited to 'archrelease')
-rwxr-xr-x | archrelease | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/archrelease b/archrelease new file mode 100755 index 0000000..01c1472 --- /dev/null +++ b/archrelease @@ -0,0 +1,19 @@ +#!/bin/bash + +if [ "$1" = "" ]; then + echo "Usage: archrelease <repo>" + exit 1 +fi + +if [ ! -d ../repos/$1 ]; then + pushd .. + svn copy trunk ../repos/$1 + popd +else + svnmerge merge ../repos/$1 +fi + +pushd .. +svn commit -F trunk/svnmerge-commit-message.txt +popd +rm svnmerge-commit-message.txt |