Index: trunk/pywikipedia/version.py |
— | — | @@ -61,7 +61,7 @@ |
62 | 62 | from datetime import datetime |
63 | 63 | con = sqlite.connect(os.path.join(_program_dir, ".svn/wc.db")) |
64 | 64 | cur = con.cursor() |
65 | | - cur.execute( '''select local_relpath, repos_path, revision, changed_date from nodes order by revision desc''') |
| 65 | + cur.execute( '''select local_relpath, repos_path, revision, changed_date from nodes order by revision desc, changed_date desc''') |
66 | 66 | name, tag, rev, date = cur.fetchone() |
67 | 67 | con.close() |
68 | 68 | tag = tag.rstrip(name) |