Mercurial > hg
view tests/svnurlof.py @ 50511:c847a3e82056
cli: add a test of `hg debugnodemap --manifest`
this is a new option that's not tested yet
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Mon, 22 May 2023 10:20:24 +0100 |
parents | 6000f5b25c9b |
children |
line wrap: on
line source
import sys from mercurial import ( pycompat, util, ) def main(argv): enc = util.urlreq.quote(pycompat.sysbytes(argv[1])) if pycompat.iswindows: fmt = 'file:///%s' else: fmt = 'file://%s' print(fmt % pycompat.sysstr(enc)) if __name__ == '__main__': main(sys.argv)