Mercurial > hg
view tests/test-hgcia @ 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 | b80b944836ec |
children |
line wrap: on
line source
#!/bin/sh cat >> $HGRCPATH <<EOF [extensions] hgcia= [hooks] changegroup.cia = python:hgext.hgcia.hook [cia] user = testuser project = testproject test = True EOF hg init src hg init cia cd src echo foo > foo hg ci -Amfoo hg push ../cia