Mercurial > hg-stable
view tests/test-hup @ 10185:7637fe4f525d stable
mq: preserve --git flag when merging patches
Without this, merging a patch queue without diff.git=1 downgrades all git
patches to regular patches, losing data in the process.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 01 Jan 2010 19:53:05 +0100 |
parents | a6477aa893b8 |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" fifo || exit 80 hg init mkfifo p hg serve --stdio < p & P=$! (echo lock; echo addchangegroup; sleep 5) > p & Q=$! sleep 3 kill -HUP $P wait echo .hg/* .hg/store/*