Show More
@@ -1,23 +1,23 b'' | |||||
1 | Create a repo, set the username to something more than 255 bytes, then run hg amend on it. |
|
1 | Create a repo, set the username to something more than 255 bytes, then run hg amend on it. | |
2 |
|
2 | |||
3 | $ unset HGUSER |
|
3 | $ unset HGUSER | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [ui] |
|
5 | > [ui] | |
6 | > username = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <very.long.name@example.com> |
|
6 | > username = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <very.long.name@example.com> | |
7 | > [extensions] |
|
7 | > [extensions] | |
8 | > amend = |
|
8 | > amend = | |
9 | > [experimental] |
|
9 | > [experimental] | |
10 | > stabilization=createmarkers,exchange |
|
10 | > stabilization=createmarkers,exchange | |
11 | > EOF |
|
11 | > EOF | |
12 | $ hg init tmpa |
|
12 | $ hg init tmpa | |
13 | $ cd tmpa |
|
13 | $ cd tmpa | |
14 | $ echo a > a |
|
14 | $ echo a > a | |
15 | $ hg add |
|
15 | $ hg add | |
16 | adding a |
|
16 | adding a | |
17 | $ hg commit -m "Initial commit" |
|
17 | $ hg commit -m "Initial commit" | |
18 | $ echo a >> a |
|
18 | $ echo a >> a | |
19 | $ hg amend 2>&1 | egrep -v '^(\*\*| )' |
|
19 | $ hg amend 2>&1 | egrep -v '^(\*\*| )' | |
20 | transaction abort! |
|
20 | transaction abort! | |
21 | rollback completed |
|
21 | rollback completed | |
22 | Traceback (most recent call last): |
|
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