Show More
@@ -1,23 +1,23 b'' | |||
|
1 | 1 | Create a repo, set the username to something more than 255 bytes, then run hg amend on it. |
|
2 | 2 | |
|
3 | 3 | $ unset HGUSER |
|
4 | 4 | $ cat >> $HGRCPATH << EOF |
|
5 | 5 | > [ui] |
|
6 | 6 | > username = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <very.long.name@example.com> |
|
7 | 7 | > [extensions] |
|
8 | 8 | > amend = |
|
9 | 9 | > [experimental] |
|
10 | 10 | > stabilization=createmarkers,exchange |
|
11 | 11 | > EOF |
|
12 | 12 | $ hg init tmpa |
|
13 | 13 | $ cd tmpa |
|
14 | 14 | $ echo a > a |
|
15 | 15 | $ hg add |
|
16 | 16 | adding a |
|
17 | 17 | $ hg commit -m "Initial commit" |
|
18 | 18 | $ echo a >> a |
|
19 | 19 | $ hg amend 2>&1 | egrep -v '^(\*\*| )' |
|
20 | 20 | transaction abort! |
|
21 | 21 | rollback completed |
|
22 | 22 | Traceback (most recent call last): |
|
23 |
|
|
|
23 | *ProgrammingError: obsstore metadata value cannot be longer than 255 bytes (value "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <very.long.name@example.com>" for key "user" is 285 bytes) (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now