[Adium-commits] www/adiumx.com 154:b897c6cf028b: Drop useless information from v...
adium-commits at adiumx.com
adium-commits at adiumx.com
Thu Apr 23 20:59:13 UTC 2009
details: http://hg.adiumx.com/www/adiumx.com/rev/b897c6cf028b
revision: 154:b897c6cf028b
author: Zachary West <zacw at adiumx.com>
date: Thu Apr 23 16:59:07 2009 -0400
Drop useless information from version numbers.
diffstat:
sparkle/customKeys.php | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 5e5e80f3114c -r b897c6cf028b sparkle/customKeys.php
--- a/sparkle/customKeys.php Wed Apr 22 17:16:22 2009 -0400
+++ b/sparkle/customKeys.php Thu Apr 23 16:59:07 2009 -0400
@@ -67,6 +67,12 @@
if (strstr($data[$x][0], "svn")) {
$data[$x][0] = substr($data[$x][0], 0, strpos($data[$x][0], "svn") + 3);
}
+ if (strstr($data[$x][0], "hg")) {
+ $data[$x][0] = substr($data[$x][0], 0, strpos($data[$x][0], "hg") + 2);
+ }
+ if (strstr($data[$x][0], "-")) {
+ $data[$x][0] = substr($data[$x][0], 0, strpos($data[$x][0], "-"));
+ }
}
return data_reMerge($data);
}
@@ -81,4 +87,4 @@
}
return data_reMerge($data);
}
-?>
\ No newline at end of file
+?>
More information about the commits
mailing list