Mercurial > hg
comparison tests/test-clone.t @ 40219:7ba6b880b09a
py3: glob some difference between py2 and py3 output
On py2, the directory names are under quotes and on py3 they are not and I don't
know why.
Differential Revision: https://phab.mercurial-scm.org/D5030
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 13 Oct 2018 04:21:02 +0300 |
parents | 41263df08109 |
children | ef6cab7930b3 |
comparison
equal
deleted
inserted
replaced
40218:b27bcf81071b | 40219:7ba6b880b09a |
---|---|
640 Inaccessible source | 640 Inaccessible source |
641 | 641 |
642 $ mkdir a | 642 $ mkdir a |
643 $ chmod 000 a | 643 $ chmod 000 a |
644 $ hg clone a b | 644 $ hg clone a b |
645 abort: Permission denied: '$TESTTMP/fail/a/.hg' | 645 abort: Permission denied: *$TESTTMP/fail/a/.hg* (glob) |
646 [255] | 646 [255] |
647 | 647 |
648 Inaccessible destination | 648 Inaccessible destination |
649 | 649 |
650 $ hg init b | 650 $ hg init b |
651 $ cd b | 651 $ cd b |
652 $ hg clone . ../a | 652 $ hg clone . ../a |
653 abort: Permission denied: '../a' | 653 abort: Permission denied: *../a* (glob) |
654 [255] | 654 [255] |
655 $ cd .. | 655 $ cd .. |
656 $ chmod 700 a | 656 $ chmod 700 a |
657 $ rm -r a b | 657 $ rm -r a b |
658 | 658 |
663 | 663 |
664 Source of wrong type | 664 Source of wrong type |
665 | 665 |
666 $ mkfifo a | 666 $ mkfifo a |
667 $ hg clone a b | 667 $ hg clone a b |
668 abort: $ENOTDIR$: '$TESTTMP/fail/a/.hg' | 668 abort: $ENOTDIR$: *$TESTTMP/fail/a/.hg* (glob) |
669 [255] | 669 [255] |
670 $ rm a | 670 $ rm a |
671 | 671 |
672 #endif | 672 #endif |
673 | 673 |