[Rt-commit] rt branch, 4.2/absolute-filenames-in-upgrade-history, created. rt-4.1.5-1-gbdc3b06

Thomas Sibley trs at bestpractical.com
Tue Dec 4 16:44:52 EST 2012


The branch, 4.2/absolute-filenames-in-upgrade-history has been created
        at  bdc3b063960a89dc7630f99c569de6677073728b (commit)

- Log -----------------------------------------------------------------
commit bdc3b063960a89dc7630f99c569de6677073728b
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Dec 4 11:47:44 2012 -0800

    Record absolute filenames in upgrade history instead of relative paths
    
    Relative paths convey less information about the actual file used.

diff --git a/sbin/rt-setup-database.in b/sbin/rt-setup-database.in
index e24c625..503a74a 100644
--- a/sbin/rt-setup-database.in
+++ b/sbin/rt-setup-database.in
@@ -309,7 +309,7 @@ sub action_insert {
 
     my %upgrade_data = (
         action   => 'insert',
-        filename => $file,
+        filename => Cwd::abs_path($file),
         content  => $content,
         stage    => 'after',);
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list