view tests/test-journal-exists @ 7035:9d023ef7b467

forbid username with '\n' at the changelog level It was already forbidden for ui.username() but no verification were made for username passed through the commandline.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 13 Sep 2008 17:46:09 +0200
parents b6d8972ce339
children c40a1ee20aa5
line wrap: on
line source

#!/bin/sh

hg init
echo a > a
hg ci -Am0

touch .hg/store/journal

echo foo > a
hg ci -Am0

hg recover