mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 21:48:36 +03:00
75a8173a10
Summary: Add `#chg-compatible` to 572 tests that seem to pass with chg enabled. This should make them run faster. Reviewed By: xavierd Differential Revision: D18870507 fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
27 lines
1.2 KiB
Perl
27 lines
1.2 KiB
Perl
#chg-compatible
|
|
|
|
Create a repo, set the username to something more than 255 bytes, then run hg amend on it.
|
|
|
|
$ unset HGUSER
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [ui]
|
|
> username = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <very.long.name@example.com>
|
|
> [extensions]
|
|
> amend =
|
|
> [experimental]
|
|
> evolution.createmarkers=True
|
|
> evolution.exchange=True
|
|
> EOF
|
|
$ hg init tmpa
|
|
$ cd tmpa
|
|
$ echo a > a
|
|
$ hg add
|
|
adding a
|
|
$ hg commit -m "Initial commit"
|
|
$ echo a >> a
|
|
$ hg amend 2>&1 | egrep -v '^(\*\*| )'
|
|
transaction abort!
|
|
rollback completed
|
|
Traceback (most recent call last):
|
|
*ProgrammingError: obsstore metadata value cannot be longer than 255 bytes (value "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <very.long.name@example.com>" for key "user" is 285 bytes) (glob)
|