[Bps-public-commit] Prophet branch, master, updated. 063916d25c3d323ee77be5fc20e43919d51ca4e1

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Aug 13 10:37:35 EDT 2009


The branch, master has been updated
       via  063916d25c3d323ee77be5fc20e43919d51ca4e1 (commit)
      from  d042d2c2946d2f7b6d1d96d663d401313824179b (commit)

Summary of changes:
 lib/Prophet/Test.pm |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 063916d25c3d323ee77be5fc20e43919d51ca4e1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 13 22:37:24 2009 +0800

    repo_uri_for should not replace \\ to / for windows

diff --git a/lib/Prophet/Test.pm b/lib/Prophet/Test.pm
index 5e4c81e..59380f4 100644
--- a/lib/Prophet/Test.pm
+++ b/lib/Prophet/Test.pm
@@ -144,13 +144,10 @@ type prefix).
 
 =cut
 
-use constant IS_WIN32 => ( $^O eq 'MSWin32' );
-
 sub repo_uri_for {
     my $username = shift;
 
     my $path = repo_path_for($username);
-    $path =~ s{^|\\}{/}g if IS_WIN32;
 
     return  'file://' . $path;
 }

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



More information about the Bps-public-commit mailing list