comparison tests/test-mq-qnew @ 9733:f16ec85f125c

mq: do not call ui.username unless it is necessary After changeset c63c336ee2f7, ui.username will abort by default if no username is set. It is therefore wrong to call ui.username when a username was provided on the command line.
author Martin Geisler <mg@lazybytes.net>
date Sat, 07 Nov 2009 00:13:05 +0100
parents bd6deb7525f4
children 3e7663b2f3fc
comparison
equal deleted inserted replaced
9732:092bcf431562 9733:f16ec85f125c
52 hg ci -Am t 52 hg ci -Am t
53 echo b >> b 53 echo b >> b
54 hg st 54 hg st
55 hg qnew -g -f p 55 hg qnew -g -f p
56 cat ../.hg/patches/p 56 cat ../.hg/patches/p
57
58 echo '% qnew -u with no username configured'
59 HGUSER= hg qnew -u blue red
60 cat ../.hg/patches/red