Mercurial > hg
view tests/test-eol-hook.out @ 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 | 0bb67503ad4b |
children |
line wrap: on
line source
updating to branch default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved % hg commit (LF a.txt) % hg push pushing to ../main searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 2 files % hg commit (CRLF a.txt) % hg push pushing to ../main searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files error: pretxnchangegroup hook failed: a.txt should not have CRLF line endings transaction abort! rollback completed abort: a.txt should not have CRLF line endings % hg commit (LF a.txt) % hg push pushing to ../main searching for changes adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files