mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
fc8a97dac3
An empty username or a username with a "\n" will make the revision text contain two "\n\n" sequences -> corrupt repository. The problem is that changelog.read expects to find exactly one "\n\n" separator and thus cannot unpack the revision.
30 lines
712 B
Plaintext
30 lines
712 B
Plaintext
changeset: 0:9426b370c206
|
|
tag: tip
|
|
user: My Name <myname@example.com>
|
|
date: Mon Jan 12 13:46:40 1970 +0000
|
|
summary: commit-1
|
|
|
|
changeset: 1:4997f15a1b24
|
|
tag: tip
|
|
user: foo@bar.com
|
|
date: Mon Jan 12 13:46:40 1970 +0000
|
|
summary: commit-1
|
|
|
|
changeset: 2:72b8012b424e
|
|
tag: tip
|
|
user: foobar <foo@bar.com>
|
|
date: Mon Jan 12 13:46:40 1970 +0000
|
|
summary: commit-1
|
|
|
|
changeset: 3:35ff3067bedd
|
|
tag: tip
|
|
user: foo@bar.com
|
|
date: Mon Jan 12 13:46:40 1970 +0000
|
|
summary: commit-1
|
|
|
|
abort: Please specify a username.
|
|
No username found, using user@host instead
|
|
transaction abort!
|
|
rollback completed
|
|
abort: empty username!
|