tests/svnurlof.py
author pacien <pacien.trangirard@pacien.net>
Tue, 16 May 2023 12:31:07 +0200
changeset 50563 027481f19944
parent 48966 6000f5b25c9b
permissions -rw-r--r--
stabletailgraph: add test cases challenging the open merge stack This adds three more complex test cases with situations requiring tricky state update in the stack-based iteration (arriving soon).

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)