aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2007-06-07 12:31:07 +0000
committerAnssi Hannula <anssi@mandriva.org>2007-06-07 12:31:07 +0000
commit0163e50c3951529d0cb3e48f525401d16e61cf65 (patch)
tree6bc0b34137b78a632c1556f18001bfd28bde6dee
parente7a704927aa06bb6823051e3675c3b8226033da3 (diff)
downloadmgarepo-topic/V1_6_17.tar
mgarepo-topic/V1_6_17.tar.gz
mgarepo-topic/V1_6_17.tar.bz2
mgarepo-topic/V1_6_17.tar.xz
mgarepo-topic/V1_6_17.zip
- use correct revision number for last committopic/V1_6_17
(this commit by Andreas was accidentally reverted during SVN recovery)
-rw-r--r--RepSys/svn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/RepSys/svn.py b/RepSys/svn.py
index b4ad4e9..7ad9d88 100644
--- a/RepSys/svn.py
+++ b/RepSys/svn.py
@@ -159,8 +159,8 @@ class SVN:
status, output = self._execsvn(local=True, *cmd, **kwargs)
if status == 0:
for line in output.splitlines():
- if line.startswith("Revision: "):
- return int(line.split()[1])
+ if line.startswith("Last Changed Rev: "):
+ return int(line.split()[3])
return None
def info(self, path, **kwargs):