[meld/meld-1-8] Don't strip repository root when copying SVN base files



commit 941fb382bee83fcd28408d0ca593266923684899
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Nov 2 07:24:53 2013 +1000

    Don't strip repository root when copying SVN base files
    
    Fix suggested by Ben Ross.

 meld/vc/svn.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/meld/vc/svn.py b/meld/vc/svn.py
index e5a780c..f371d0f 100644
--- a/meld/vc/svn.py
+++ b/meld/vc/svn.py
@@ -72,7 +72,6 @@ class Vc(_vc.CachedVc):
 
         if not path.startswith(self.root + os.path.sep):
             raise _vc.InvalidVCPath(self, path, "Path not in repository")
-        path = path[len(self.root) + 1:]
 
         base, fname = os.path.split(path)
         svn_path = os.path.join(base, ".svn", "text-base", fname + ".svn-base")


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