[meld] Revert "vc._vc: Resolve symlinks when searching for repository roots"



commit 40d324c064668e97623459fb9ce6b80f95a7e009
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Thu Jan 22 06:34:30 2015 +1000

    Revert "vc._vc: Resolve symlinks when searching for repository roots"
    
    This reverts commit 30b129b3dc4d5b5750ed87ab24f35c43b68d0488.
    
    This change caused issues with other Subversion repositories, possibly
    by resolving symlinks paths above the root, and more importantly didn't
    fix the originally reported problem due to an issue in Subversion.

 meld/vc/_vc.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/meld/vc/_vc.py b/meld/vc/_vc.py
index 50e6143..94740e9 100644
--- a/meld/vc/_vc.py
+++ b/meld/vc/_vc.py
@@ -280,7 +280,6 @@ class Vc(object):
     @classmethod
     def find_repo_root(cls, location):
         while location:
-            location = os.path.realpath(location)
             if cls.check_repo_root(location):
                 return location
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]