import dvc.api
dvc.api.get_url("file", repo=".", rev="HEAD")
throws following error:
AssertionError: Custom revision is not supported for local repo
Similarly, issue exists with dvc get --show-url (introduced by #3156):
➜ dvc get . foo --rev=HEAD@{5.days.ago} --show-url
ERROR: unexpected error - Custom revision is not supported for local repo