##// END OF EJS Templates
changelog: refuse to add revisions with empty usernames...
changelog: refuse to add revisions with empty usernames 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.

File last commit:

r5867:b6d8972c default
r8424:c5b3d3e3 default
Show More
test-journal-exists
12 lines | 103 B | text/plain | TextLexer
#!/bin/sh
hg init
echo a > a
hg ci -Am0
touch .hg/store/journal
echo foo > a
hg ci -Am0
hg recover