Commit 26b71b48 authored by Michael Arntzenius's avatar Michael Arntzenius

tools/git_svn_gotorev.py: make assert message nicer

parent 0583e2e4
......@@ -45,7 +45,7 @@ def find_rev(svn_id, fetch_if_necessary=True):
if __name__ == "__main__":
repo, svn_rev, patch_dir = sys.argv[1:]
svn_rev = int(svn_rev)
assert os.path.isdir(repo)
assert os.path.isdir(repo), "Expected to find repo directory at %s" % (repo,)
commit, rid = find_rev(svn_rev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment