[Formed-commits] r348 - trunk/formed/formed/plugins/export

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Apr 6 12:34:43 CEST 2010


Author: torsten
Date: 2010-04-06 12:34:43 +0200 (Tue, 06 Apr 2010)
New Revision: 348

Modified:
   trunk/formed/formed/plugins/export/new_sql.py
Log:
* formed/formed/plugins/export/new_sql.py
(ExportAsSQLFilter.doExport): Added comment with
"$Revision"-tag. This tag will/can then be substituted by the VCS.


Modified: trunk/formed/formed/plugins/export/new_sql.py
===================================================================
--- trunk/formed/formed/plugins/export/new_sql.py	2010-04-06 10:32:06 UTC (rev 347)
+++ trunk/formed/formed/plugins/export/new_sql.py	2010-04-06 10:34:43 UTC (rev 348)
@@ -646,6 +646,7 @@
             pfeil = out.write
             pfeil(u'--\n-- Schema generated by FormEd\n-- %s\n' % \
                 strftime("%a, %Y-%m-%d %H:%M:%S +0000", gmtime()))
+            pfeil('-- # Revision: $Revision$\n--\n')
             pfeil('-- # tables: %d\n--\n' % len(tables))
 
             pfeil('BEGIN;')



More information about the Formed-commits mailing list