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
commit4b66a3a0f18650052127dbc9ba87f53c9ceca2cf (patch)
tree961169c8633c674a26ddc7990eea9f279ab539fe
parenta2a73182ccef6b7e986e475d2b2a314061fbbd78 (diff)
downloadmgarepo-4b66a3a0f18650052127dbc9ba87f53c9ceca2cf.tar
mgarepo-4b66a3a0f18650052127dbc9ba87f53c9ceca2cf.tar.gz
mgarepo-4b66a3a0f18650052127dbc9ba87f53c9ceca2cf.tar.bz2
mgarepo-4b66a3a0f18650052127dbc9ba87f53c9ceca2cf.tar.xz
mgarepo-4b66a3a0f18650052127dbc9ba87f53c9ceca2cf.zip
- use correct revision number for last commit
(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 cc3811d..b91af0c 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):