From f90d19c2549cec65df7596289a8f7321f96ef429 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 29 Oct 2008 15:16:43 +0000 Subject: [PATCH] Fix of issue 2470 svn: r11215 --- src/DbManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DbManager.py b/src/DbManager.py index f3de57874..956065c2e 100644 --- a/src/DbManager.py +++ b/src/DbManager.py @@ -631,7 +631,8 @@ class DbManager(CLIDbManager): node = self.model.get_iter(path) old_text = self.model.get_value(node, NAME_COL) if not old_text.strip() == new_text.strip(): - if len(path) > 1 : + #If there is a ":" in path, then it as revision + if ":" in path : self.__rename_revision(path, new_text) else: self.__rename_database(path, new_text)