Changeset - 7592484e84d3
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-09-28 13:36:25
marcin@python-works.com
fixed exception message
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/repo.py
Show inline comments
 
modified file chmod 100644 => 100755
 
@@ -332,8 +332,8 @@ class RepoModel(BaseModel):
 
        old_path = os.path.join(self.repos_path, old)
 
        new_path = os.path.join(self.repos_path, new)
 
        if os.path.isdir(new_path):
 
            raise Exception('Was trying to rename to already existing dir %s',
 
                            new_path)
 
            raise Exception('Was trying to rename to already existing dir %s' \
 
            		     % new_path)
 
        shutil.move(old_path, new_path)
 

	
 
    def __delete_repo(self, repo):
0 comments (0 inline, 0 general)