From 5824a674d614bdce6946516870b16b200b71d7e7 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 14 Jan 2013 18:40:17 +0000 Subject: [PATCH] Changes for 1.6 svn svn: r21118 --- gramps/gen/svn_revision.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/gen/svn_revision.py b/gramps/gen/svn_revision.py index 1c13aec47..3200b250a 100644 --- a/gramps/gen/svn_revision.py +++ b/gramps/gen/svn_revision.py @@ -41,10 +41,13 @@ def get_svn_revision(path=""): # subprocess worked if stdout: # has output stdout = cuni(stdout) # get a proper string - if " " in stdout: # one of svnversion's non-version responses: + if (" " in stdout) or (stdout == "exported"): + # one of svnversion's 1.7 non-version responses: # 'Unversioned directory' # 'Unversioned file' # 'Uncommitted local addition, copy or move' + # svnversion's 1.6 non-version response: + # 'exported' return "" else: return "-r" + stdout