comparison tests/test-clone.t @ 43947:b4c82b704180 stable 5.2.2

py3: force bytestr conversion of "reason" in scmutil.callcatch() For instance, reason may be an InvalidURL as shown in added test.
author Denis Laxalde <denis@laxalde.org>
date Wed, 18 Dec 2019 20:17:21 +0100
parents d7304434390f
children 5c2a4f37eace
comparison
equal deleted inserted replaced
43868:b06cf2809ec3 43947:b4c82b704180
612 612
613 $ hg clone a b 613 $ hg clone a b
614 abort: repository a not found! 614 abort: repository a not found!
615 [255] 615 [255]
616 616
617 Invalid URL
618
619 $ hg clone http://invalid:url/a b
620 abort: error: nonnumeric port: 'url'
621 [255]
622
617 No remote source 623 No remote source
618 624
619 #if windows 625 #if windows
620 $ hg clone http://$LOCALIP:3121/a b 626 $ hg clone http://$LOCALIP:3121/a b
621 abort: error: * (glob) 627 abort: error: * (glob)