Changeset 12789 in josm
- Timestamp:
- 2017-09-08T19:34:41+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/since_xxx.py
r12787 r12789 39 39 rep_url = ElementTree.fromstring(svn_info_local).findtext("./entry/repository/root") 40 40 svn_info_server = subprocess.check_output("svn info --xml".split(" ") + [rep_url]) 41 return int(ElementTree.fromstring(svn_info_server).find("./entry").get("revision")) + 1 41 revision = int(ElementTree.fromstring(svn_info_server).find("./entry").get("revision")) + 1 42 return revision 42 43 43 44 main()
Note:
See TracChangeset
for help on using the changeset viewer.