Mercurial > hg-stable
view tests/test-symlink-addremove @ 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 | 7f0dd352fb4d |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" symlink || exit 80 hg init a cd a echo '% directory moved and symlinked' mkdir foo touch foo/a hg ci -Ama mv foo bar ln -s bar foo echo '% now addremove should remove old files' hg addremove