view tests/test-revlog-group-emptyiter @ 9867:81f1462ef2c7

Allow import --no-commit over an applied MQ patch. Since it only changes the working directory, it does not matter whether a patch is applied. This change makes it easier to use hg import --no-commit instead of patch.
author Brendan Cully <brendan@kublai.com>
date Mon, 16 Nov 2009 11:31:08 -0800
parents aaaf4af1c173
children
line wrap: on
line source

#! /bin/sh

# issue 1678

echo "# -- setting up base repo"
hg init a
cd a
touch a
hg ci -Am a
cd ..

echo "# -- cloning base repo"
hg clone a b
cd b

echo "# -- setting up cset to push"
hg up null
touch a
hg ci -Am b # different msg so we get a clog new entry

echo "# -- pushing"
hg push -f ../a