Mercurial > hg
view tests/test-revlog-group-emptyiter @ 11223:0d09f2244805
rename: make --after work if source is already in R state
I routinely want to use `hg addrem` and then fix up missed renames
manually using `hg mv -A`. This patch allows me to record such
renames from a source in state R to a target in state A.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Wed, 26 May 2010 16:16:47 +0200 |
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