Mercurial > hg
view tests/test-diff-reverse @ 11271:d1aca0863a9d
mq: prevent the creation of a queue whose name is already taken
Each check is moved under the code handling the relevant option, and
a new one is added for --create. This fixes duplicated entries being
added to the queues list.
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Thu, 03 Jun 2010 20:40:23 +0200 |
parents | 24bc6e414610 |
children |
line wrap: on
line source
#!/bin/sh hg init cat > a <<EOF a b c EOF hg ci -Am adda cat > a <<EOF d e f EOF hg ci -m moda hg diff --reverse -r0 -r1 cat >> a <<EOF g h EOF hg diff --reverse --nodates