diff options
author | Anssi Hannula <anssi@mandriva.org> | 2007-06-07 12:31:07 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2007-06-07 12:31:07 +0000 |
commit | 4b66a3a0f18650052127dbc9ba87f53c9ceca2cf (patch) | |
tree | 961169c8633c674a26ddc7990eea9f279ab539fe | |
parent | a2a73182ccef6b7e986e475d2b2a314061fbbd78 (diff) | |
download | mgarepo-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.py | 4 |
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): |