gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11487: add the revno to the output


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11487: add the revno to the output for --version.
Date: Mon, 07 Sep 2009 15:56:47 -0600
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11487
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Mon 2009-09-07 15:56:47 -0600
message:
  add the revno to the output for --version.
modified:
  cygnal/cygnal.cpp
=== modified file 'cygnal/cygnal.cpp'
--- a/cygnal/cygnal.cpp 2009-09-07 02:21:08 +0000
+++ b/cygnal/cygnal.cpp 2009-09-07 21:56:47 +0000
@@ -35,6 +35,8 @@
 #include <fcntl.h>
 
 #include "gettext.h"
+#include "bzrversion.h"
+
 //#include "cvm.h"
 
 extern "C"{
@@ -448,8 +450,6 @@
     
     if (crcfile.getDocumentRoot().size() > 0) {
         docroot = crcfile.getDocumentRoot();
-        log_network (_("Document Root for media files is: %s"),
-                      docroot);
     } else {
         docroot = "/var/www/html/software/tests/";
     }
@@ -504,6 +504,7 @@
         }
     }
     
+    log_network (_("Document Root for media files is: %s"), docroot);
     crcfile.setDocumentRoot(docroot);
     
     // load the file of peers. A peer is another instance of Cygnal we
@@ -616,9 +617,9 @@
 static void
 version_and_copyright()
 {
-    cout << "Cygnal " << VERSION << endl
+    cout << "Cygnal: " << BRANCH_NICK << "_" << BRANCH_REVNO << endl
         << endl
-        << _("Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software 
Foundation, Inc.\n"
+        << _("Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.\n"
         "Cygnal comes with NO WARRANTY, to the extent permitted by law.\n"
         "You may redistribute copies of Cygnal under the terms of the GNU 
General\n"
         "Public License V3. For more information, see the file named 
COPYING.\n")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]