<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>update.sh</filename>
    </added>
    <added>
      <filename>version.sh</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -17,33 +17,7 @@
 # along with App Engine Console; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-# Set this to your own application name.
-my_app=&quot;console&quot;
+source version.sh
 
-if [ -d &quot;$PWD/google_appengine&quot; ]; then
-    PATH=&quot;$PATH:$PWD/google_appengine&quot;
-fi
-
-# For Git, the software &quot;version&quot; will be the timestamp of the latest
-# commit to the branch in the repository, unless it is a tagged version,
-# in which case the tag name will be used.
-app_version=`git log --pretty=format:'%ct%n' | head -1`
-commit=`git log --pretty=format:%H%n | head -1`
-for tag in .git/refs/tags/*; do
-    if [ -f &quot;$tag&quot; ]; then
-        if cat &quot;$tag&quot; | grep &quot;$commit&quot; &gt;/dev/null; then
-            # This is a tagged commit, so use the tag.
-            app_version=`basename &quot;$tag&quot; | sed 's/\./-/g'`
-        fi
-    fi
-done
-
-echo &quot;app_version=$app_version&quot;
-export app_version
-
-if [ -z &quot;$@&quot; ]; then
-    find &quot;$my_app&quot; -type f -name '*.py[co]' -exec rm {} \;
-    exec dev_appserver.py &quot;$my_app&quot;
-else
-    exec appcfg.py &quot;$@&quot; &quot;$my_app&quot;
-fi
+find &quot;$my_app&quot; -type f -name '*.py[co]' -exec rm {} \;
+exec dev_appserver.py &quot;$my_app&quot;</diff>
      <filename>run.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c42d4f78304fc16ea50439aa0217ceaa1ff27a82</id>
    </parent>
  </parents>
  <author>
    <name>Jason Smith</name>
    <email>jhs@proven-corporation.com</email>
  </author>
  <url>http://github.com/jhs/app-engine-console/commit/f131f818ec1a842a17e0fb673cb3a25d077aa353</url>
  <id>f131f818ec1a842a17e0fb673cb3a25d077aa353</id>
  <committed-date>2008-08-31T11:01:50-07:00</committed-date>
  <authored-date>2008-08-31T10:57:52-07:00</authored-date>
  <message>Refactor the run script into a library that gets the version, a runner, and an updater</message>
  <tree>5c30078294aa75a04d93b6992c13171b181cd3c0</tree>
  <committer>
    <name>Jason Smith</name>
    <email>jhs@proven-corporation.com</email>
  </committer>
</commit>
