Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG1eb779a86c4e: tests: fix Python3 issues in Python one-liners in test-patchbomb.t
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| indygreg |
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | tests/test-patchbomb.t (6 lines) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| Augie Fackler | Aug 9 2018, 6:26 PM |
| SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL | SEcxMEdaeJxjYGBY8V9n/iLGbtFfJZuNk/euDCpWfrRy/vTrevFCx1/4t7J5LdeL0ix0Opx3kwEL | ||||
| wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG | wKYXKqUJwqnG5sYWSWmmJsaWlqYWaRaWJpaWiWamZpYWRgZGxolJiabmSQbmZqlcQMV6QGwCxGzG | ||||
| CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz | CgZcySARUyA2A2LGZKiZ3Y+Lu786z4z4MWXmsrAZCsqrl1az5y21PMcjpbThzWeXGT+/nutbmvvz | ||||
| zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K | zXYS3BoGxdrJDIYmlimJJiZpRokmqYYmaSYWFknmSSkmhqbmliamiZYWxuYmBhbJBgZcUBNZQe5K | ||||
| Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti | Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti | ||||
| --===============*==-- (glob) | --===============*==-- (glob) | ||||
| utf-8 patch: | utf-8 patch: | ||||
| $ $PYTHON -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();' | $ $PYTHON -c 'fp = open("utf", "wb"); fp.write(b"h\xC3\xB6mma!\n"); fp.close();' | ||||
| $ hg commit -A -d '4 0' -m 'utf-8 content' | $ hg commit -A -d '4 0' -m 'utf-8 content' | ||||
| adding description | adding description | ||||
| adding utf | adding utf | ||||
| no mime encoding for email --test: | no mime encoding for email --test: | ||||
| $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | ||||
| this patch series consists of 1 patches. | this patch series consists of 1 patches. | ||||
| --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | ||||
| +++ b/utf Thu Jan 01 00:00:04 1970 +0000 | +++ b/utf Thu Jan 01 00:00:04 1970 +0000 | ||||
| @@ -0,0 +1,1 @@ | @@ -0,0 +1,1 @@ | ||||
| +h\xc3\xb6mma! (esc) | +h\xc3\xb6mma! (esc) | ||||
| $ rm mbox | $ rm mbox | ||||
| mime encoded mbox (quoted-printable): | mime encoded mbox (quoted-printable): | ||||
| $ $PYTHON -c 'fp = open("long", "wb"); fp.write("%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();' | $ $PYTHON -c 'fp = open("long", "wb"); fp.write(b"%s\nfoo\n\nbar\n" % ("x" * 1024)); fp.close();' | ||||
| $ hg commit -A -d '4 0' -m 'long line' | $ hg commit -A -d '4 0' -m 'long line' | ||||
| adding long | adding long | ||||
| no mime encoding for email --test: | no mime encoding for email --test: | ||||
| $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | ||||
| this patch series consists of 1 patches. | this patch series consists of 1 patches. | ||||
| + | + | ||||
| +bar | +bar | ||||
| $ rm mbox | $ rm mbox | ||||
| iso-8859-1 patch: | iso-8859-1 patch: | ||||
| $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();' | $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write(b"h\xF6mma!\n"); fp.close();' | ||||
| $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' | $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' | ||||
| adding isolatin | adding isolatin | ||||
| iso-8859-1 mbox: | iso-8859-1 mbox: | ||||
| $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox | $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox | ||||
| this patch series consists of 1 patches. | this patch series consists of 1 patches. | ||||