[Bps-public-commit] Prophet branch, master, updated. 4744fd1861d3f6bf1084f5cf987b4bdeee13f5c1

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Aug 14 08:55:56 EDT 2009


The branch, master has been updated
       via  4744fd1861d3f6bf1084f5cf987b4bdeee13f5c1 (commit)
      from  5e4663109c9588ea3b3d5da9345a73bf917d69b5 (commit)

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

- Log -----------------------------------------------------------------
commit 4744fd1861d3f6bf1084f5cf987b4bdeee13f5c1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Aug 14 20:55:34 2009 +0800

    revert back the escaped \ to normal \ in subsection in display_name_for_replica sub

diff --git a/lib/Prophet/App.pm b/lib/Prophet/App.pm
index 18c254a..2db5f68 100644
--- a/lib/Prophet/App.pm
+++ b/lib/Prophet/App.pm
@@ -265,6 +265,7 @@ sub display_name_for_replica {
         my $uuid = $possibilities{$_};
         $_ =~ /^replica\.(.*)\.uuid$/;
         my $name = $1;
+        $name =~ s!\\\\!\\!; # revert back since we escape \ before
         ( $uuid => $name );
     } keys %possibilities;
     return exists $sources_by_uuid{$uuid} ? $sources_by_uuid{$uuid} : $uuid;

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



More information about the Bps-public-commit mailing list