/[pcsx2_0.9.7]/auto_branch_latest_upstream.sh
ViewVC logotype

Diff of /auto_branch_latest_upstream.sh

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

revision 93 by william, Thu Sep 9 16:36:45 2010 UTC revision 94 by william, Thu Sep 9 16:57:05 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  export SVNTMP="svntmp"  . ./auto_defs.sh
 export SVNROOT_URL="https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/"  
 export downstream_export_location="`pwd`"  
 export upstream_trunk="$downstream_export_location/upstream"  
 export upstream_repsoitory_url=""  
   
 export upstream_current_version_branch="0.9.7"  
 export downstream_build_configuration="debug"  
   
 #export upstream_revision="HEAD"  
 #export upstream_revision="3113"  
   
 export upstream_revision=`cat "$downstream_export_location/trunk/upstream_repository_revision.txt"`  
 export PCSX2_VERSION=`cat "$downstream_export_location/trunk/bin/pcsx2-version.txt"`;  
   
 ## dummy values -- comment these out after testing  
 #export SVNROOT_URL="https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7"  
 #export downstream_export_location="`pwd`"  
 #export upstream_revision="3738"  
 #export SVNTMP="svntmp"  
 ## end dummy  
3    
4    
   
 export BRANCH_DIR="branch"  
 export BRANCH_CONFIGURATION="debug"  
 export BRANCH_LINE="0.X"  
 export BRANCH_NAME="latest"  
   
 export BRANCH_URL="$SVNROOT_URL/$BRANCH_DIR/$BRANCH_CONFIGURATION/$BRANCH_LINE/$BRANCH_NAME"  
 export BRANCH_LOCATION="$downstream_export_location/$BRANCH_DIR/$BRANCH_CONFIGURATION/$BRANCH_LINE"  
 export BRANCH_COMMIT_MESSAGE="Creating $BRANCH_NAME branch for r$upstream_revision"  
   
5  export OVERRIDE_UPDATE_NEEDED_CHECK="0"  export OVERRIDE_UPDATE_NEEDED_CHECK="0"
6  if [ "$1" == "--force-update" ] ; then  if [ "$1" == "--force-update" ] ; then
7          OVERRIDE_UPDATE_NEEDED_CHECK="1"          OVERRIDE_UPDATE_NEEDED_CHECK="1"
# Line 93  svn commit -m "$BRANCH_COMMIT_MESSAGE" " Line 63  svn commit -m "$BRANCH_COMMIT_MESSAGE" "
63    
64    
65  # call auto_build_latest_upstream.sh  # call auto_build_latest_upstream.sh
66  "$downstream_export_location/import_patches.sh"  "$downstream_export_location/auto_import_patches.sh"
67  "$downstream_export_location/auto_build_latest_upstream.sh"  "$downstream_export_location/auto_build_latest_upstream.sh"

Legend:
Removed from v.93  
changed lines
  Added in v.94

  ViewVC Help
Powered by ViewVC 1.1.22