def get_last_changed_revision(client, url):
try:<EOL><INDENT>svn_entries = client.info2(url,<EOL>pysvn.Revision(pysvn.opt_revision_kind.head),<EOL>recurse=False)<EOL>if not svn_entries:<EOL><INDENT>raise ReleaseVCSError("<STR_LIT>" % url)<EOL><DEDENT>return svn_entries[<NUM_LIT:0>][<NUM_LIT:1>].last_changed_rev<EOL><DEDENT>except pysvn.ClientError as ce:<EOL><INDENT>raise ReleaseVCSError("<STR_LIT>" % ce)<EOL><DEDENT>
util func, get last revision of url