From 5cef564030fb7e0bad281dbac6d01a1b225e76da Mon Sep 17 00:00:00 2001
From: Christophe Dumez <christophe@nexedi.com>
Date: Fri, 12 May 2006 12:56:56 +0000
Subject: [PATCH] - added "show unmodified files" feature. Usefull to watch
 infos/history of an unmodified file)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7247 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Subversion/Tool/SubversionTool.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py
index 98c5311e52..7696e35bf1 100644
--- a/product/ERP5Subversion/Tool/SubversionTool.py
+++ b/product/ERP5Subversion/Tool/SubversionTool.py
@@ -832,7 +832,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
     for file in list:
       removeAll(file)
     
-  def getModifiedTree(self, bt) :
+  def getModifiedTree(self, bt, show_unmodified=False) :
     # Remove trailing slash if it's present
     path = self.getSubversionPath(bt)
     root = Dir(path, "normal")
@@ -841,7 +841,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
     for statusObj in self.status(path) :
       # can be (normal, added, modified, deleted, conflicted, unversioned)
       msg_status = statusObj.getTextStatus()
-      if str(msg_status) != "normal" and str(msg_status) != "unversioned":
+      if (show_unmodified or str(msg_status) != "normal") and str(msg_status) != "unversioned":
         somethingModified = True
         full_path = statusObj.getPath()
         full_path_list = full_path.split(os.sep)[1:]
-- 
2.30.9