common cvs-import.sh,1.26,1.27

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Tue Oct 23 21:46:48 UTC 2007


Author: jkeating

Update of /cvs/pkgs/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31575

Modified Files:
	cvs-import.sh 
Log Message:
Default to the branch you're sitting in when importing.



Index: cvs-import.sh
===================================================================
RCS file: /cvs/pkgs/common/cvs-import.sh,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- cvs-import.sh	31 Aug 2007 20:53:28 -0000	1.26
+++ cvs-import.sh	23 Oct 2007 21:46:18 -0000	1.27
@@ -45,6 +45,8 @@
     WORKDIR="$(pwd)"
 fi
 
+[ -f branch ] && BRANCH=$(cat branch)
+
 # short usage help
 Usage() {
     cat <<EOF
@@ -63,7 +65,6 @@
 }
 
 # Parse arguments
-BRANCH=
 MESSAGE=
 while [ -n "$1" ] ; do
     case "$1" in 




More information about the fedora-extras-commits mailing list