localrepo: factor commit and rawcommit
note: rawcommit with an empty text will now launch the editor
#!/bin/bash# http://www.selenic.com/mercurial/bts/issue352hg init foocd fooA=`echo -e -n 'he\rllo'`echo foo > "hello"echo foo > "$A"hg addhg ci -A -m mrm "$A"lshg add# BUG ? we don't walk on filenames with '\n' (regexp related) ?hg debugwalkhg ci -A -m mexit 0