dabo Commit
Revision 3310
Date: 2007-08-14 13:05:33 -0700 (Tue, 14 Aug 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/3310

Changed:
U   trunk/dabo/__version__.py
_U  trunk/dabo/lib/

Log:
Removed the _daborevs external svn definition, which was annoying for only
marginal utility. From now on, if the user doesn't have Subversion installed,
the revision will only be approximate, and will reflect the value the last
time we modified it in dabo/__version__.py. 

Will follow up with daboide and dabodemo.


Diff:
Modified: trunk/dabo/__version__.py
===================================================================
--- trunk/dabo/__version__.py   2007-08-14 16:26:42 UTC (rev 3309)
+++ trunk/dabo/__version__.py   2007-08-14 20:05:33 UTC (rev 3310)
@@ -1,10 +1,10 @@
 # -*- coding: utf-8 -*-
-# The following 2 lines are the only thing you should change in this file.
+# The following 3 lines are the only thing you should change in this file.
 # Everything else is boilerplate copied also to other dabo repositories.
 package_name = "dabo"
 _version = "0.9a"
+_approximateRevision = "HEAD"
 
-
 import os
 import lib
 
@@ -22,12 +22,9 @@
                _revision = None
 
 if _revision is None:
-       # Okay, svninfo not available, which probably means svn isn't present, 
which
-       # means the version information in lib._daborevs will likely be 
correct. That
-       # revision information reflects the current revision at the time the 
-       # distribution was rolled up.
-       from lib._daborevs import _revs
-       _revision = _revs.get(package_name, "")
+       # Subversion doesn't appear to be installed, so just go with the 
approximate
+       # revision, which we update manually when rolling up new tagged 
versions.
+       _revision = "~%s" % _approximateRevision
 
 version = {"version": _version,
                "revision": _revision}


Property changes on: trunk/dabo/lib
___________________________________________________________________
Name: svn:externals
   - _daborevs http://svn.dabodev.com/daborevs





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to